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.1.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for evduty_api-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49b2bbc6d78c3f1067d38277500a64349c5eac8693028911fd9c7ea60aa3a4d7 |
|
MD5 | 01af155caa30bc39498b8640e8a9bec4 |
|
BLAKE2b-256 | e57cf318ab1ce393aa824620541d5effbd736e8599a1c181fa746db5e84202ba |