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.2.tar.gz (10.4 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.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evduty_api-0.4.2.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for evduty_api-0.4.2.tar.gz
Algorithm Hash digest
SHA256 92a36ed1b300766df8ef0f8453c58bd2903f5bacde7cda35d824cc990d0bc931
MD5 5775da9f055db5076fb99eadf1ca42b1
BLAKE2b-256 90328405d3a44b979de567b0ec375a6c12e05f996ad0d28174ee337bde7e055d

See more details on using hashes here.

Provenance

The following attestation bundles were made for evduty_api-0.4.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: evduty_api-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for evduty_api-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 864727dba8ed58fff5d99598a8dba0487f59a968ef67ca3bbb6f5c5ea6ed2ba6
MD5 ee9dd5b6d61ec827a0e6707cb92b5680
BLAKE2b-256 cc2440eb9924ce0eeb7bb66e89df13a7e41b79bab7e80bfe55d8625ab9edbc34

See more details on using hashes here.

Provenance

The following attestation bundles were made for evduty_api-0.4.2-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