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.3.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for evduty_api-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3b00ee8399e06f26ca7f47e5366cae12228c38f2ebe76b80d8c48608e3c476c |
|
MD5 | f139261933079851f7b5599531afe116 |
|
BLAKE2b-256 | fda50e864cb427aad75d2c3eb07efbd777d689476907519ee2b3bfc0ca968f4a |