Skip to main content

Python wrapper for the FordPass API for Ford vehicle information and control: start, stop, lock, unlock.

Project description

PyPI version

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

fordpass-0.0.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

fordpass-0.0.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file fordpass-0.0.3.tar.gz.

File metadata

  • Download URL: fordpass-0.0.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for fordpass-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fd882b17b7619c16ed6b1d9375dedb424d4cae0cf2a99adfc20f90a19ccf8afa
MD5 489cb5a6479b822925fc410723fc0847
BLAKE2b-256 5c7dd7326984835d8e4e1d6ef88ed61cf201209eec92bebf88bbd30beb723c69

See more details on using hashes here.

File details

Details for the file fordpass-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: fordpass-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for fordpass-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 18373dc509932bbaf76568ed6febe2c389237bdf7e705b26927060e60e9f0198
MD5 00c5429fb256d4ad350120e38e230826
BLAKE2b-256 65cada0ebe6dfedb653ce103ccb135c361c8ac20b637b4cfbada8c16e2f2a905

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