Skip to main content

Async Python client for the NexBlue EV charger cloud API

Project description

aionexblue

Async Python client for the NexBlue EV charger cloud API.

Supports Python 3.12 through 3.14.

Installation

pip install aionexblue

Quick start

import asyncio
import aiohttp
from aionexblue import NexBlueClient, login

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        tokens = await login(session, "user@example.com", "password")
        client = NexBlueClient(session, tokens)

        chargers = await client.get_chargers()
        for charger in chargers:
            status = await client.get_charger_status(charger.serial_number)
            print(f"{charger.serial_number}: {status.charging_state.name} @ {status.power} kW")

asyncio.run(main())

API reference

Interactive documentation is available at the NexBlue Swagger UI.

License

MIT

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

aionexblue-0.1.0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

aionexblue-0.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file aionexblue-0.1.0.tar.gz.

File metadata

  • Download URL: aionexblue-0.1.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aionexblue-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d69a5b68e27b0c2c3e09bee1ac163d92fac98509363918d2ee7a30d891902ec
MD5 268e17ecd35e61b07e6adfa50f9193bb
BLAKE2b-256 cac3ad5d03a75c2f10534db345aec0928d87bfc2fb931842079b9ea2ce9b22e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for aionexblue-0.1.0.tar.gz:

Publisher: release.yml on kimdv/aionexblue

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

File details

Details for the file aionexblue-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aionexblue-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aionexblue-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e53d1a03a2a9d1e5ff0712ba972a9119ef8764bcf30bf68ff484c8b26ef12d1
MD5 f10550ecf3cf24a85ff682d132e9aa29
BLAKE2b-256 2c056253d9e7e6f0fb89fb45394061d15cb6655ec14a7a3b22c523262097fa14

See more details on using hashes here.

Provenance

The following attestation bundles were made for aionexblue-0.1.0-py3-none-any.whl:

Publisher: release.yml on kimdv/aionexblue

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