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.5.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.5-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fordpass-0.0.5.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.1

File hashes

Hashes for fordpass-0.0.5.tar.gz
Algorithm Hash digest
SHA256 00293a1c4e871e0e584cbe4981ffcf70ddaf378fff7bd4d04fd160bb2cf55eae
MD5 8a849fc325642516e523ea8ff97df884
BLAKE2b-256 48189ae784ebd92910121c74878a855381cc8cda4838f6046312ef0c950cae8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fordpass-0.0.5-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.1

File hashes

Hashes for fordpass-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d4019732a4093a11e1dcc7fae718692b20c650175c79b933935447b84e016068
MD5 22aa3d98d0d3824c92c694e96cccab47
BLAKE2b-256 4eaf1a97f6b88ea01fa705f89e618f345016f7ceb31c49e51d7aad4d9dc2628f

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