1.0.4 • Published 6 years ago

intrepid-api v1.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

intrepid-api

Intrepid API for their hackathons.

This controls a Tesla Model X car.

Check out api/Command.js for command names. You can also just pass a string.

Usage:

const { Client, Command } = require('intrepid-api');

const client = new Client('YOURAPIKEY');

client.action(Command.OPEN_DRIVER_DOORS)
    .then(() => { console.log('done!') })
    .catch(console.error);