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.4.tar.gz
(16.7 kB
view details)
Built Distribution
File details
Details for the file pychargecloud-0.2.4.tar.gz
.
File metadata
- Download URL: pychargecloud-0.2.4.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e4fb46ff91fb9b374d2363e179ceb377f72f3b1b43fa70edca032f43620f0db |
|
MD5 | 8e7c2da5b10f8665815eaa993b4ea92b |
|
BLAKE2b-256 | 4f06fc1912d7f494f44ac6ae19464d8d60d87ebfa532ba0970ea52017945b3e8 |
File details
Details for the file pychargecloud-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: pychargecloud-0.2.4-py3-none-any.whl
- Upload date:
- Size: 17.1 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 | b6c0ca2b3ac005c71bd611be0faba29e38c199ad511dabdad7c2edb11fc9318b |
|
MD5 | b951240b46a761c6a51eff93e84f944f |
|
BLAKE2b-256 | f1545ddfd7fefa60fcb2a745df1981eb7e144b370577bb5b62e405beeaaf109d |