Skip to content

mattzuba/zero-motorcycles

Repository files navigation

Zero Motorcycles

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install zero-motorcycles

Usage

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 license.