{"id":15678167,"url":"https://github.com/hacksore/drone-mobile","last_synced_at":"2025-05-07T02:26:53.796Z","repository":{"id":54665566,"uuid":"330516208","full_name":"Hacksore/drone-mobile","owner":"Hacksore","description":"An unofficial nodejs API wrapper for DroneMobile","archived":false,"fork":false,"pushed_at":"2024-03-20T13:02:34.000Z","size":591,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-02-25T20:39:12.157Z","etag":null,"topics":["api-wrapper","compustar","drone-mobile","firstech","remote-start","typescript"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/drone-mobile","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hacksore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-18T00:35:54.000Z","updated_at":"2024-12-14T04:24:37.000Z","dependencies_parsed_at":"2024-03-20T14:04:29.874Z","dependency_job_id":null,"html_url":"https://github.com/Hacksore/drone-mobile","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.052631578947368474","last_synced_commit":"afe0008e14d6003165b669eb6666ef5d7cad8031"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacksore%2Fdrone-mobile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacksore%2Fdrone-mobile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacksore%2Fdrone-mobile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacksore%2Fdrone-mobile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hacksore","download_url":"https://codeload.github.com/Hacksore/drone-mobile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242884337,"owners_count":20201108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-wrapper","compustar","drone-mobile","firstech","remote-start","typescript"],"created_at":"2024-10-03T16:17:54.094Z","updated_at":"2025-03-10T16:31:41.513Z","avatar_url":"https://github.com/Hacksore.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drone-mobile\r\n\r\nAn unofficial nodejs API wrapper for DroneMobile\r\n\r\n[![CI](https://img.shields.io/github/workflow/status/Hacksore/drone-mobile/npm)](https://github.com/Hacksore/drone-mobile/actions?query=workflow%3Anpm)\r\n[![npm](https://img.shields.io/npm/v/drone-mobile.svg)](https://www.npmjs.com/package/drone-mobile)\r\n[![Discord](https://img.shields.io/discord/652755205041029120)](https://discord.gg/HwnG8sY)\r\n\r\n\r\n### Install\r\n```shell\r\nnpm install drone-mobile\r\n```\r\n\r\n### Usage\r\n```js\r\nconst DroneMobile = require('drone-mobile');\r\nconst client = new DroneMobile({\r\n  username: 'some@dude.com',\r\n  password: 'hunter1'\r\n});\r\n\r\nclient.on('ready', async () =\u003e {\r\n  // get a list of vehicles on the account\r\n  const vehicleList = await client.vehicles();\r\n\r\n  // pick the first one\r\n  const vehicle = vehicleList[0];\r\n\r\n  // attempt a lock command to the vehicle\r\n  console.log('Attempting to lock car', vehicle.device_key);\r\n  try {\r\n    const response = await client.lock(vehicle.device_key);\r\n    console.log(response);\r\n  } catch (err) {\r\n    console.log('Err:', err);\r\n  }\r\n\r\n});\r\n\r\n```\r\n\r\n### Commands\r\n\r\n- [x] Start\r\n- [x] Stop\r\n- [x] Lock\r\n- [x] Unlock\r\n- [x] Trunk\r\n- [x] Aux1\r\n- [x] Aux2\r\n- [x] Location\r\n- [x] Status\r\n- [x] Vehicles\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacksore%2Fdrone-mobile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhacksore%2Fdrone-mobile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacksore%2Fdrone-mobile/lists"}