No project description provided
Project description
Electric Kiwi Python API
What it does
Provide a simple API interface to the Electric Kiwi API and includes all endpoints available on the juice hacker site
What it does not
session management / token management, there are enough libraries and frameworks that already do this very well, no point reinventing the wheel
Authentication has been left to you.
How to use it
implement AbstractAuth (see test_instance.py in tests)
once implemented you can pass it to ElectricKiwiApi
e.g
api = ElectricKiwiApi(ApiAuthImpl(session))
await api.get_active_session()
await api.set_active_session()
You will need to call api.set_active_session() to set the customer number and connection id for you to run additional API calls as it sets them on the class so your not passing them continuously.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for electrickiwi_api-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a47990cd3605aa04eea9b9a1c70acb11c3ee4a2f2c32d44505e8d7935087930 |
|
MD5 | 13e72fcb35b26bb7661a5f4fdcefd222 |
|
BLAKE2b-256 | 909bdf9dd3371cde6d59f505747bf00b3d6fd0ba3afe05b00adeae9196d43851 |