Interact with your FordPass enabled vehicle with JavaScript


License
MIT
Install
npm install ffpass@1.1.2

Documentation

FFPass NPM module

npm build

This module will allow you to control a FordPass Enabled vehicle from your javascript code. It requires a node version >=14.

Usage

npm install ffpass --save

const fordApi = require('ffpass')
const car = new fordApi.vehicle(process.env.FORD_USERNAME, process.env.FORD_PASSWORD, process.env.VIN)

async function main() {
    await car.auth()

    // to view current vehicle information including location
    var vehicleData = await car.status()
    console.log(JSON.stringify(vehicleData))

}
main()

More Examples

A fully functional implementation of the usage of this module can be found here: ffpass