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.
If you are planning on joining Electric Kiwi use my link to score a $50 credit sign up link
Authentication
To make any requests to the token url you are required to have basic auth using the client id and secret same as the python api example.
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
File details
Details for the file electrickiwi-api-0.8.5.tar.gz
.
File metadata
- Download URL: electrickiwi-api-0.8.5.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be649cc9be6d975aedb3a0c1331b23d46fdca758ec9f5ea90ef62baab85180eb |
|
MD5 | d0368c6d3907eba9ebbec74f2c03edb5 |
|
BLAKE2b-256 | bbb0c8c698d05ced547f2debf5f29b92477698255cbb0c1ef16866887c4cfbc2 |
File details
Details for the file electrickiwi_api-0.8.5-py3-none-any.whl
.
File metadata
- Download URL: electrickiwi_api-0.8.5-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8357f1fc7a65673734e62edf6ed5422a9d2ce16a0e0d512d7be3cb7d87402087 |
|
MD5 | 6f52ce589e6ae50c3ade4b52f810bc69 |
|
BLAKE2b-256 | 87ef1588fbea91eb46d75403ca3f3534e08deed773f036a6f9020791e70ce3d5 |