0.0.11 • Published 2 months ago

drone-mobile v0.0.11

Weekly downloads
7
License
MIT
Repository
-
Last release
2 months ago

drone-mobile

An unofficial nodejs API wrapper for DroneMobile

CI npm Discord

Install

npm install drone-mobile

Usage

const DroneMobile = require('drone-mobile');
const client = new DroneMobile({
  username: 'some@dude.com',
  password: 'hunter1'
});

client.on('ready', async () => {
  // get a list of vehicles on the account
  const vehicleList = await client.vehicles();

  // pick the first one
  const vehicle = vehicleList[0];

  // attempt a lock command to the vehicle
  console.log('Attempting to lock car', vehicle.device_key);
  try {
    const response = await client.lock(vehicle.device_key);
    console.log(response);
  } catch (err) {
    console.log('Err:', err);
  }

});

Commands

  • Start
  • Stop
  • Lock
  • Unlock
  • Trunk
  • Aux1
  • Aux2
  • Location
  • Status
  • Vehicles
0.0.11

2 months ago

0.0.10

4 months ago

0.0.9

4 months ago

0.0.5

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago