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.1.tar.gz
(18.8 kB
view hashes)
Built Distribution
Close
Hashes for goechargerv2-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d1127fa1bc9616e7234f2e1906613656714cfdf604751fbcfab4ebefc42174 |
|
MD5 | 1e37f34c2ce1841890e28ec6772cf117 |
|
BLAKE2b-256 | fd82b19893105f97a4564d7a04f5a7c07c11c0a629c307dd2480595cb56c24b7 |