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.3.3.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.3.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evduty_api-0.3.3.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.3.3.tar.gz
Algorithm Hash digest
SHA256 abbdc26682c143601b1567db4d8c5564570339a066569566bc8abd3d24824163
MD5 95325c774c2500edc70d0515a01f757c
BLAKE2b-256 bb5ab091db11be90445c141a52abffa7c55b22a14ce54f97cece1c83b57bc32b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: evduty_api-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 90c9ad3e1d062db35cc0c656d2521ab97687d7dfb226302475067e06d37c08bb
MD5 2b338f61d04f00b5fbf5f1042ead2bfb
BLAKE2b-256 99b0c5780994138a3473706d14189891f0feff914ad350f02184019859e2857c

See more details on using hashes here.

Provenance

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