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.2.4.tar.gz
(9.7 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.2.4.tar.gz.
File metadata
- Download URL: evduty_api-0.2.4.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c135665d5a49703c828e7e9efc362882029ee5f108206a276fdf16a508fb442f
|
|
| MD5 |
7fdbcbc40adafe8f40193a7c719ad261
|
|
| BLAKE2b-256 |
3d87d47484bca471c279937a2cd6f253fbc040d270bb2ad4d16c712185ad7ef1
|
File details
Details for the file evduty_api-0.2.4-py3-none-any.whl.
File metadata
- Download URL: evduty_api-0.2.4-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7eda9b8fcd8cfc37d04583f417de79e141575f13b5975e91a3bbf59258cda2e8
|
|
| MD5 |
5919c2f059f7ff9707508d3a46e89d89
|
|
| BLAKE2b-256 |
ca2dfce79e9f3c0a1fdc92d269ed27077088cab279f0160a4fc65e68901aa161
|