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.0.tar.gz
(10.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.3.0.tar.gz.
File metadata
- Download URL: evduty_api-0.3.0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0bc01bad4c648bd0151b521f3dd33eb1b34d48e5579ee2fa5c91f9b1bb287a2
|
|
| MD5 |
f8cf884dd1f1b0c2e7ea3d1b8b8daa68
|
|
| BLAKE2b-256 |
9d188293b6d1cc94cd609949046e50822079f7982bd8131ba255e0e38188a7ab
|
File details
Details for the file evduty_api-0.3.0-py3-none-any.whl.
File metadata
- Download URL: evduty_api-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.7 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 |
1bc470318f85e8ed0f1b87a70f180cffd417d0cdf90fddb0868d8cdf132eb7fe
|
|
| MD5 |
017ae594d8710a3667a1d8bccca27eee
|
|
| BLAKE2b-256 |
febfca5b93ce11aaf0fc1888f10de812a8916e64e7ceca39206d3f818ff5d58e
|