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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aionexblue-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cda15ebe13baae2a87a9cadcaf3f79286a90a2bc8ded243a750bff3f851cd136
MD5 a04b4e422ac942abadc25015d08ad359
BLAKE2b-256 5453734f8eb27ea1714af3da06379d59ffdadfb2c2f074ec185f50fcb388c8ac

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for aionexblue-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b83665a8e32395710852a98160a3365fd5e780165e62cd443cda1a56e21769b
MD5 c7a372aeab40cdadb350ccc4d0b70879
BLAKE2b-256 b3ccc764d7e60ae2b38550f5dc5750e9c8f0de3487393f7f831b6d2ebd67de4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for aionexblue-0.1.2-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