Metadata-Version: 2.1
Name: zero-motorcycles
Version: 1.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.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Requires-Dist: pycryptodome
Requires-Dist: requests
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 Zero

zero_client = Zero(username="email", password="password")

# Get units
zero_client.get_units()

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

# Get subscription expiration for a specific unit
zero_client.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.
