Library to communicate with EVduty REST api
Project description
evduty-api
Library to communicate with EVduty REST API.
Usage
import aiohttp
import asyncio
import os
from evdutyapi import EVDutyApi
async def run():
async with aiohttp.ClientSession() as session:
api = EVDutyApi(os.environ['EMAIL'], os.environ['PASSWORD'], session)
stations = await api.async_get_stations()
for station in stations:
print(station)
for terminal in station.terminals:
print(terminal)
print(terminal.session)
print(terminal.network_info)
asyncio.run(run())
Build and test locally
make install
make test
make build
Release version
make release bump=patch|minor|major
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
evduty_api-0.3.2.tar.gz
(10.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file evduty_api-0.3.2.tar.gz.
File metadata
- Download URL: evduty_api-0.3.2.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b84343d553b2c264953e4cccfd1236c8ca8c259a8a85ef5e26c698be7c6c978d
|
|
| MD5 |
f0f21f09b0484bbf76d1f70ee8aece6b
|
|
| BLAKE2b-256 |
d1c2b93b6ed988df52e6bb529e4abc9f8f5df3d6f1f956b2e80cf3b48d11c625
|
File details
Details for the file evduty_api-0.3.2-py3-none-any.whl.
File metadata
- Download URL: evduty_api-0.3.2-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb367ce68f1c85aab1f7a98247a65ad3ee939daf2bcd971c4086a8a7fc2aa008
|
|
| MD5 |
bdf5968490113812230ea44674b9b37c
|
|
| BLAKE2b-256 |
df6b03f9b2f8e89ca16119b8b70e17f6e352ec71ebb25ba3b615637284ba0d90
|