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!
Metadata
Release files for fordpass1 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fordpass1-0.0.6.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fordpass1-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.2 kB
Release files / fordpass1-0.0.6.tar.gz
| Download URL | fordpass1-0.0.6.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d83b36dcbb3381e24bdb945ef9552375967a0fdd13ea27242727c0cdc438b142
|
|
BLAKE2b-256 checksum How to use checksums |
3f1db84d7b6de102f0aac220a230a4e4fdb4847aa77bedafabaf968b121c043e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / fordpass1-0.0.6-py3-none-any.whl
| Download URL | fordpass1-0.0.6-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c6ed03af5a60d9e7da12c138d86f8dfb51c10cd35b6af9c27263666f793b648
|
|
BLAKE2b-256 checksum How to use checksums |
353c029ccfee9fd79581c9540b54c71ada4bee111325121cae7b4c8e505bbd59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|