Skip to main content

Library to communicate with EVduty REST api

Project description

Build, test and publish

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


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.4.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evduty_api-0.2.4-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file evduty_api-0.2.4.tar.gz.

File metadata

  • Download URL: evduty_api-0.2.4.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for evduty_api-0.2.4.tar.gz
Algorithm Hash digest
SHA256 c135665d5a49703c828e7e9efc362882029ee5f108206a276fdf16a508fb442f
MD5 7fdbcbc40adafe8f40193a7c719ad261
BLAKE2b-256 3d87d47484bca471c279937a2cd6f253fbc040d270bb2ad4d16c712185ad7ef1

See more details on using hashes here.

File details

Details for the file evduty_api-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: evduty_api-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for evduty_api-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7eda9b8fcd8cfc37d04583f417de79e141575f13b5975e91a3bbf59258cda2e8
MD5 5919c2f059f7ff9707508d3a46e89d89
BLAKE2b-256 ca2dfce79e9f3c0a1fdc92d269ed27077088cab279f0160a4fc65e68901aa161

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page