Metadata-Version: 2.4
Name: aionexblue
Version: 0.1.0
Summary: Async Python client for the NexBlue EV charger cloud API
Project-URL: Homepage, https://github.com/kimdv/aionexblue
Project-URL: Repository, https://github.com/kimdv/aionexblue
Project-URL: Issues, https://github.com/kimdv/aionexblue/issues
Author: Kim de Vos
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Home Automation
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: aiohttp>=3.9
Provides-Extra: dev
Requires-Dist: aioresponses>=0.7; extra == 'dev'
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest-cov>=5; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Requires-Dist: ruff>=0.4; extra == 'dev'
Description-Content-Type: text/markdown

# aionexblue

Async Python client for the NexBlue EV charger cloud API.

Supports Python 3.12 through 3.14.

## Installation

```bash
pip install aionexblue
```

## Quick start

```python
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](https://prod-management.nexblue.com/swagger/dist/index.html).

## License

[MIT](LICENSE)
