Skip to main content

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

  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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fordpass1-0.0.6.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fordpass1-0.0.6-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

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

Hashes for fordpass1-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d83b36dcbb3381e24bdb945ef9552375967a0fdd13ea27242727c0cdc438b142
MD5 157ac1a2dd6793d9707a93ab360d005c
BLAKE2b-256 3f1db84d7b6de102f0aac220a230a4e4fdb4847aa77bedafabaf968b121c043e

See more details on using hashes here.

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

Hashes for fordpass1-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2c6ed03af5a60d9e7da12c138d86f8dfb51c10cd35b6af9c27263666f793b648
MD5 a3eeee15bde49ad95d56115029cb7ef5
BLAKE2b-256 353c029ccfee9fd79581c9540b54c71ada4bee111325121cae7b4c8e505bbd59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page