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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fordpass-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1590fd0e390b37ce202ba57cf2454f9f0aa218e27291ce53a3872cbf1d0b6cb3
MD5 d66ea52327b95a3964f9b12cae23ddf8
BLAKE2b-256 df8c0e69f9d92c2d627dec9965227f8fe407caf1cea6aaa2f16b8f303b7d21cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fordpass-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ba96b6ee9a9db0f438f77d87f57bd63e08f389c7006feea8c7072c0802f3edf3
MD5 3375bd3778ed012566cea588087eeb25
BLAKE2b-256 211daabf522c60acf727baec1e496d3a246e06beba312b137ba805823966c0cd

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