Python Client for Bitronit (v2 API)
The bitronit
package is available on PyPI. Install with pip
:
pip install bitronit
The BitronitClient
object can be created without authentication to make public requests. You can simply create Client object without any arguments.
For the private request the BitronitClient
needs to be authenticated with api key and secret that you can create from API Management page in Bitronit dashboard.
After installing the library, just import the client.
from bitronit.client import BitronitClient
You can use public endpoints without providing an api key/secret pair.
my_client = BitronitClient()
my_client.get_assets()
If you have an api key/secret pair, you can use private endpoints
my_client = BitronitClient(api_key='<Your Api Key>', api_secret='<Your Api Secret>')
my_client.get_wallets()