Python wrapper for the FordPass API for Ford vehicle information and control: start, stop, lock, unlock.
Project description
fordpass-python
This is a basic Python wrapper around the FordPass APIs. The wrapper provides methods to return vehicle status as well as some basic commands, e.g. start/stop, lock/unlock.
It's more or less a straight port of @d4v3y0rk's NPM module d4v3y0rk/ffpass - props to him for his work figuring out the relevant API requests needed.
Features
- Automatically auth & re-fetches tokens once expired
- Get status of the vehicle (this returns a ton of info about the car: lat/long, oil, battery, fuel, odometer, tire pressures, open windows and a bunch of other stuff that may/may not apply to your car, e.g. charge level, diesel filters.)
- Start the engine (if supported)
- Stop the engine (if supported)
- Lock the doors
- Unlock the doors
Install
Install using pip:
pip install fordpass
Demo
To test the libary there is a demo script demo.py.
demo.py USERNAME PASSWORD VIN
e.g.
demo.py test@test.com mypassword WX12345678901234
Publishing new versions of this package
- Bump the version number inside
setup.py. - Build the package:
python setup.py sdist bdist_wheel. - Upload to TestPyPi using
twine upload --repository-url https://test.pypi.org/legacy/ dist/*and verify everything is as expected. - Upload to PyPi using
twine upload dist/*. - All done!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fordpass1-0.0.6.tar.gz.
File metadata
- Download URL: fordpass1-0.0.6.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d83b36dcbb3381e24bdb945ef9552375967a0fdd13ea27242727c0cdc438b142
|
|
| MD5 |
157ac1a2dd6793d9707a93ab360d005c
|
|
| BLAKE2b-256 |
3f1db84d7b6de102f0aac220a230a4e4fdb4847aa77bedafabaf968b121c043e
|
File details
Details for the file fordpass1-0.0.6-py3-none-any.whl.
File metadata
- Download URL: fordpass1-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c6ed03af5a60d9e7da12c138d86f8dfb51c10cd35b6af9c27263666f793b648
|
|
| MD5 |
a3eeee15bde49ad95d56115029cb7ef5
|
|
| BLAKE2b-256 |
353c029ccfee9fd79581c9540b54c71ada4bee111325121cae7b4c8e505bbd59
|