Metadata-Version: 2.4
Name: aio-dvla-vehicle-enquiry
Version: 0.1.2
Summary: Async Python client for the UK DVLA Vehicle Enquiry Service
Author: Jamie Nandhra-Pezone
License-Expression: MIT
Project-URL: Homepage, https://github.com/jampez77/aio-dvla-vehicle-enquiry
Project-URL: Repository, https://github.com/jampez77/aio-dvla-vehicle-enquiry
Project-URL: Issues, https://github.com/jampez77/aio-dvla-vehicle-enquiry/issues
Keywords: dvla,vehicle,enquiry,async,aiohttp
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp>=3.9.0
Dynamic: license-file

# aio-dvla-vehicle-enquiry

Async Python client for the UK DVLA Vehicle Enquiry Service.

This package handles the DVLA Vehicle Enquiry Service transport, request construction, response parsing, and protocol-level errors. It is intended to be used by integrations such as Home Assistant while keeping application code as a thin wrapper.

## Installation

```bash
pip install aio-dvla-vehicle-enquiry
```

## Usage

```python
from aiohttp import ClientSession
from aio_dvla_vehicle_enquiry import DVLAClient, DVLAError

async with ClientSession() as session:
    client = DVLAClient(session, "your-api-key")

    try:
        vehicle = await client.async_get_vehicle("AB12CDE")
    except DVLAError as err:
        print(f"DVLA lookup failed: {err}")
    else:
        print(vehicle)
```

## Notes

This package does not include an API key. Consumers must provide their own DVLA Vehicle Enquiry Service API key.
