1.2.0 • Published 1 year ago

nexx-garage-sdk v1.2.0

Weekly downloads
3
License
ISC
Repository
github
Last release
1 year ago

Nexx Garage SDK

This is a javascript sdk for interacting with Nexx Garage API's.

Nexx Garage does not provide an official API. The results of this project are merely from reverse engineering. This project does not have any official relationship or support by https://getnexx.com/. Use it at your own risk.

Nexx Garage Official Site: https://getnexx.com/

Usage:

npm i nexx-garage-sdk
import { NexxApiClient } from 'nexx-garage-sdk';

const client = new NexxApiClient({
  "password": "your_password",
  "username": "your_username",
  "clientId": client_id, // see instructions below
  "deviceToken": device_token, // see instructions below
});

// get array of all devices
const [ firstDevice ] = await client.getDevices();

// open the first device
const result = await client.open(firstDevice.DeviceId);

How to find the client_id and device_token?

You will need to use an HTTP Proxy like https://www.charlesproxy.com/ to find your client_id and device_token. Follow the instructions here for whatever device you are using.

When you log in, there is a POST request to identity-api.simpaltek.com/token. This will have the client_id and device_token in the request body.

1.2.0

1 year ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago