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
async with AsyncClient(token="<ACCESS_KEY>") as cl:
user = await cl.user_by_username_v2("instagram")
print(user)
Run tests
# Integration tests (require API token)
HIKERAPI_TOKEN=<token> pytest -v tests.py
HIKERAPI_TOKEN=<token> pytest -v tests.py::test_search_music
# Unit tests (no token needed)
pytest -v tests_helpers.py