Python asyncio client for Kraken REST and Websockets API
pip install aiokraken
from aiokraken import RestClient
async def get_assets():
""" get kraken time"""
rest_kraken = RestClient()
response = await rest_kraken.assets()
print(f'response is {response}')
await rest_kraken.close()
asyncio.get_event_loop().run_until_complete(get_assets())
- python 3.7 and above
Contributions are welcome and i will do my best to merge PR quickly.
Here are some guidelines that makes everything easier for everybody:
- Fork it.
- Create a feature branch containing only your fix or feature.
- Add/Update tests.
- Create a pull request.
- Add wrapper methods for all public and private REST CALLS
- Write tests for the library
- Write documentation for the library
https://www.kraken.com/features/api
The MIT License (MIT)