This repo contains JavaScript example client code for the Skylight HTTP API.
When using a stock PRiSM device, the default API URL is the following:
http://192.168.3.1:3030/sklt/
For example, to get the device's status summary, you can enter the following URL in your web browser's address bar
http://192.168.3.1:3030/sklt/status/
This repo contains executable scripts that provide examples for performing various operations via the API. To run them, you must first install Node.js
npm install
Example:
node start-survey.js --remote 192.168.3.1:3030 --rx-port J3 ./examples/example-survey-lte.json
NOTE:
192.168.3.1:3030
is the defaultremote
address andJ3
is the defaultrx-port
, so these options can technically be omitted on a stock setup.
run node <script-name> --help
to get info about arguments for each script