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)
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.1.5.tar.gz
(8.6 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.1.5.tar.gz.
File metadata
- Download URL: evduty_api-0.1.5.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b5acb47dc9f551315fb0da63ddc4e3c66d7833a43907ebb3f8ebf0cbef700d0
|
|
| MD5 |
d7f37c2b6ff361a1f3429ddaa9466e00
|
|
| BLAKE2b-256 |
42a51851b07c30039613e3f3d1050e87cf99341cb600ab6cf654583f9385ee7b
|
File details
Details for the file evduty_api-0.1.5-py3-none-any.whl.
File metadata
- Download URL: evduty_api-0.1.5-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16967430ea9ba8418ba69fcd9a29558565256a345b8417b73fac0da5de48cd53
|
|
| MD5 |
be0341fc5edb71225dbc92f64de0d3bb
|
|
| BLAKE2b-256 |
6b7a52e7dfba5dfdc3ccaf048a048e2a81588120350bddd9c450a2ee13284b79
|