d4v3y0rk / ffpass-module

Forget FordPass NPM Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Forget FordPass NPM Module

License:MIT License


Languages

Language:JavaScript 100.0%