Metadata-Version: 2.3
Name: zero-motorcycles
Version: 3.0.0
Project-URL: Documentation, https://github.com/mattzuba/zero-motorcycles#readme
Project-URL: Issues, https://github.com/mattzuba/zero-motorcycles/issues
Project-URL: Source, https://github.com/mattzuba/zero-motorcycles
Author-email: Matt Zuba <matt.zuba@gmail.com>
License-Expression: BSD-3-Clause
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Requires-Dist: aiohttp>=3.9.0
Requires-Dist: async-timeout>=4.0.0
Requires-Dist: pycryptodome>=3.20.0
Description-Content-Type: text/markdown

# Zero Motorcycles

[![PyPI - Version](https://img.shields.io/pypi/v/zero-motorcycles.svg)](https://pypi.org/project/zero-motorcycles)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/zero-motorcycles.svg)](https://pypi.org/project/zero-motorcycles)

-----

**Table of Contents**

- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

## Installation

```console
pip install zero-motorcycles
```

## Usage

```python
from zero_motorcycles import ZeroApiClient


async def main():
    zero_client = ZeroApiClient(username="email", password="password")

    # Get units
    await zero_client.async_get_units()

    # Get last transmit data for a specific unit
    await zero_client.async_get_last_transmit(123456)

    # Get subscription expiration for a specific unit
    await zero_client.async_get_expiration_date(123456)
```

## License

`zero-motorcycles` is distributed under the terms of the [BSD 3-Clause](https://spdx.org/licenses/BSD-3-Clause.html) license.
