Library to communicate with EVduty REST API.
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()
print(stations)
asyncio.run(run())
make venv
source .venv/bin/activate
make test
make build
Enable debug level to log API requests and responses.
import logging
logging.basicConfig(level=logging.DEBUG)
make release bump=patch|minor|major