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.3.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for evduty_api-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2dfb71b312f7baaf9eb6c9c186a88a7294aaf6738bf4e54127527389b508164 |
|
MD5 | d27fa250a30f6b901a547efd17d08d0d |
|
BLAKE2b-256 | 8372741de63d87f207acf494335f6773dce3ea74fe9fd5793549df19d1594483 |