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.4.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for evduty_api-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9f023cfccac5c5f380a8a87ac6183b396b85d56046beef424fea824e01f7ebe |
|
MD5 | 488442cc582043c746ec799a005524ea |
|
BLAKE2b-256 | d06ddc4f62650738b422cbab6d72dea0d1bcf03d2a26473a6c743a22371ae8c3 |