API library for the go-eCharger.
Project description
goechargerv2
A python API to access the Go eCharger wallbox. Official Go-eCharger API documentation.
Installing the library locally
python3 -m pip install -e .
This is needed for the first time when working with the library/examples/tests.
Example usage
GOE_API_URL="https://REPLACE_ME.api.v3.go-e.io" GOE_API_TOKEN="REPLACE_ME" python3 examples/simple.py
or
from goechargerv2.goecharger import GoeChargerApi
charger = GoeChargerApi('provide_api_url', 'provide_api_token')
# or you can define additional optional parameters
# charger = GoeChargerApi('provide_api_url', 'provide_api_token', timeout=10, wait=True)
print(charger.request_status())
Development
Linting
pylint tests/*.py src/**/*.py
Unit testing
python3 -m unittest -v tests/*.py
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
goechargerv2-0.2.2.tar.gz
(18.8 kB
view details)
Built Distribution
File details
Details for the file goechargerv2-0.2.2.tar.gz
.
File metadata
- Download URL: goechargerv2-0.2.2.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 800edbbb2129c57db9105976104ada31f986bf628b6dd10d22b762256fa7f22a |
|
MD5 | a032b35c8c0d428d36f8a3d1a9933224 |
|
BLAKE2b-256 | e1d88aa6683bee5e79bdb59ba304eae6b55f2ef2d433e134fd6654c4b4fbe01a |
File details
Details for the file goechargerv2-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: goechargerv2-0.2.2-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e37d24715c654b3250276e13ec0b00b135b8fb89414b757d78138f5fa08a391 |
|
MD5 | 51350177540a137b7af0b1679a0745af |
|
BLAKE2b-256 | 73b2552aa5a9b64c6558e431a2d9c849423e9755a17f5d035303039a55a56603 |