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.0.tar.gz
(9.3 kB
view hashes)
Built Distribution
Close
Hashes for evduty_api-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 539c4ccbb9c3241111762ec9ab6fba744110011f9ee47ca86e7013e1be2d578c |
|
MD5 | fbee439996d39a2604897f273b29125e |
|
BLAKE2b-256 | b23d4649c053e4e477a113fa5f9ca74c0011b46be0eb5a919437d56ab34bfa3e |