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.4.0.tar.gz (11.0 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.4.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evduty_api-0.4.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for evduty_api-0.4.0.tar.gz
Algorithm Hash digest
SHA256 41a2c7ef0cf95c77f2bcc95aac21bec749021519b73ad71591d2813a01fcb7c2
MD5 e71770cd4c69ac73ff3642a8a03c6d09
BLAKE2b-256 747832e6a11f4dd51f15fdb8228ba9180b8a9728b8607ad312c82a2deacb1125

See more details on using hashes here.

Provenance

The following attestation bundles were made for evduty_api-0.4.0.tar.gz:

Publisher: publish.yml on happydev-ca/evduty-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: evduty_api-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for evduty_api-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 498c45b047af04b4f8e8f5f6d496b99df94dc4f0e4cd26a1c299a68329185639
MD5 323f8743a6cb4c073b23e9822f23a6e5
BLAKE2b-256 5e0fa96c2715c290dfff73aac44ce1765bee19fb58cb40f0ed29c5bc90118519

See more details on using hashes here.

Provenance

The following attestation bundles were made for evduty_api-0.4.0-py3-none-any.whl:

Publisher: publish.yml on happydev-ca/evduty-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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