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.1.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.1.tar.gz.
File metadata
- Download URL: evduty_api-0.3.1.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 |
0164b360938ebff817272cd1259bb38fd70c40cf5c550ec6e4de8426a430b921
|
|
| MD5 |
d6098cc0feeb556509c42d99ede23444
|
|
| BLAKE2b-256 |
edd12d56da25dd467d37bb8ee5d46d5aea56ae2df91d941bfd3c672b4d3ff349
|
File details
Details for the file evduty_api-0.3.1-py3-none-any.whl.
File metadata
- Download URL: evduty_api-0.3.1-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 |
d9f4359b83a6061d7cd604367e33e9f2e7b4fbdde5c1bc3b8c2a4f3d3a0055dc
|
|
| MD5 |
95bc8df3b3559e772e98c112940b5cab
|
|
| BLAKE2b-256 |
95f493a6bb40c15e80726d23de4727b7da075669337249aa08c6035a8c3dfa1a
|