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.1.tar.gz
.
File metadata
- Download URL: electrickiwi-api-0.8.1.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 021bce86e67a0716dc3a199bd2cc97ad1658387deb0e49c7356ec0745bd53054 |
|
MD5 | 1d42ace820a33988fde594e980e90618 |
|
BLAKE2b-256 | 0fc6aa4ca34e7bc78607015f8055671d44ae921b2a20fd44d270f767b36a17ce |
File details
Details for the file electrickiwi_api-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: electrickiwi_api-0.8.1-py3-none-any.whl
- Upload date:
- Size: 21.5 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 | 20ead7c38d0a75c373a06ac8c5f696601ec80a4c32ec3d3c7a8112868c17b538 |
|
MD5 | ed11470293787de4f4a18eeea5f1bdfe |
|
BLAKE2b-256 | 5ca788ecb3b3cdefd13bbd033c7c7520db1710ba4f14428b970a96bb6af0a549 |