jlr-remote
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

jlr-remote

Build & Test (PR into main)

Support the Project

Library for interacting with the Jaguar Land Rover Remote API using TypeScript or JavaScript.

Examples

Examples are provided for:

  • Getting a list of electric vehicles on an account
  • Getting the charge level of an electric vehicle
  • Preconditioning an electric vehicle (EVs)
  • Locking a vehicle
  • Preconditioning a vehicle with an internal combustion engine (ICEs)

Please note: each example shows authentication, device registration and logging in. You only need to complete this once per session or until your access_token expires. Once your access_token has expired, you can refresh it using the authenticationService.refreshToken(deviceId, refresh_token) method instead of the auth/device reg/log in process.

Acknowledgements

This plug in is based on the work of jlrpy and the excellent reverse engineering of the InControl API contributed by ardevd.

Package Sidebar

Install

npm i jlr-remote

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

617 kB

Total Files

95

Last publish

Collaborators

  • wonkidonk