Access public ev charger information via chargecloud.de
Project description
pychargecloud
Fetches data about public ev charge points from chargecloud.de
Used by Home Assistant Chargecloud Integration
Example:
import sys
import chargecloudapi
import aiohttp
import asyncio
import logging
async def main():
async with aiohttp.ClientSession() as session:
api = chargecloudapi.Api(session)
locations = await api.location_by_evse_id("DECCH*ECCH1800155EBG*2")
print(locations)
if __name__ == "__main__":
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
loop = asyncio.new_event_loop()
loop.run_until_complete(main())
See also src/main.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
pychargecloud-0.2.3.tar.gz
(16.6 kB
view details)
Built Distribution
File details
Details for the file pychargecloud-0.2.3.tar.gz
.
File metadata
- Download URL: pychargecloud-0.2.3.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1aba044cfa1663750c66a0ea8c61def29fd300eee2de511d8d86169dafa881cf |
|
MD5 | 5ba7158cf36375df3bdaf118faaa4c41 |
|
BLAKE2b-256 | 3502a34aa0d2fd2638bbc956e14013abf8bb2b5627d159662a162d393418a052 |
File details
Details for the file pychargecloud-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: pychargecloud-0.2.3-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aa838ddb91dcaad73d726ae21a787acebce46c4e3394fd2ee9ecfc6baabd854 |
|
MD5 | 89820516a3d8d6f29de284c4dba3f8e2 |
|
BLAKE2b-256 | 0e198f8414a622742c9041ae10927fe46a332030a1a6614b1506c10fd92ee614 |