Skip to main content

HikerApi client, for Python 3.

Project description

Hikerapi client, for Python 3

Installation

pip install hikerapi

Usage

Create a token https://hikerapi.com/tokens and copy "Access key"

from hikerapi import Client

cl = Client(token="<ACCESS_KEY>")
user = cl.user_by_username_v2("instagram")
print(user)
from hikerapi import AsyncClient

cl = AsyncClient(token="<ACCESS_KEY>")
user = await cl.user_by_username_v2("instagram")
print(user)

Run tests

HIKERAPI_TOKEN=<token> pytest -v tests.py

HIKERAPI_TOKEN=<token> pytest -v tests.py::test_search_music

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hikerapi-0.0.2.tar.gz (11.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page