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.2.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for evduty_api-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2cb63f8cd37de9a738c6526e7068a9ddc5ef7b6744ae7dbcdea3d94859f6869 |
|
MD5 | 775eda92f4128e0dca3373acc62f0063 |
|
BLAKE2b-256 | d6a40635a4d8c65225aec99f647c96d20597a283ef786bfebdb7f002fde9e0b7 |