Metadata-Version: 2.1
Name: drone_mobile
Version: 0.2.21
Summary: Python wrapper for the DroneMobile API for Firstech/Compustar remote start systems.
Home-page: https://github.com/bjhiltbrand/drone_mobile_python
Author: bjhiltbrand
Author-email: info@bjhiltbrand.me
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE.md

[![PyPI version](https://badge.fury.io/py/drone-mobile.svg)](https://badge.fury.io/py/drone-mobile)
[![PyPi downloads](https://pypip.in/d/drone-mobile/badge.png)](https://crate.io/packages/drone-mobile/)
<!--[![PyPi version](https://pypip.in/v/drone-mobile/badge.png)](https://crate.io/packages/drone-mobile/)-->

# drone_mobile-python

This is a basic Python wrapper around the DroneMobile API. The wrapper provides methods to return vehicle status as well as some basic commands, e.g. start/stop, lock/unlock.

## Disclaimer

The code here is based off of an unsupported API from
[DroneMobile](https://www.dronemobile.com/) and is subject to change without
notice. The authors claim no responsibility for damages to your vehicle
by use of the code within.

## Features

* Automatically authenticate & re-fetch tokens once expired
* Get status of the vehicle (this returns a ton of info about the car: lat/long, temperature, battery, odometer, door status, and a bunch of other stuff that may/may not apply to your car.
* Start the engine
* Stop the engine
* Lock the doors
* Unlock the doors

## Install
Install using pip:

```
pip install drone_mobile
```

## Demo

To test the libary there is a demo script `demo.py`.

```
demo.py USERNAME PASSWORD
```

e.g.

```
demo.py test@test.com mypassword
```

## Publishing new versions of this package

1. Bump the version number inside `setup.py`.
2. Build the package: `python setup.py sdist bdist_wheel`.
3. Upload to TestPyPi using `twine upload --repository-url https://test.pypi.org/legacy/ dist/*` and verify everything is as expected.
4. Upload to PyPi using `twine upload dist/*`.
5. All done!


