Use this module for work with Splynx API into Node.js
Go to your project directory
Install splynx-nodejs-api library
npm install splynx-nodejs-api
Copy example file
cp node_modules/splynx-nodejs-api/examples/get.js example.js
Edit example file
nano example.js
Replace the constants with your data
const SPLYNX_HOST = 'YOUR_SPLYNX_HOST';
const API_KEY = 'YOUR_SPLYNX_API_KEY';
const API_SECRET = 'YOUR_SPLYNX_API_SECRET';
Run example
node example.js
See examples into examples directory