npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

splynx-nodejs-api

1.0.8 • Public • Published

Splynx Node.js api module

Use this module for work with Splynx API into Node.js

How to install

Go to your project directory

Install splynx-nodejs-api library

npm install splynx-nodejs-api

Run example for API v1.0

Copy example file for API v1.0

cp node_modules/splynx-nodejs-api/examples/v1/get.js example.js

Or copy example file for API v2.0

cp node_modules/splynx-nodejs-api/examples/v2/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

API version

Required Splynx version according to API versions.

API version Splynx version
1.0 <= 2.2
2.0 >= 2.3

Examples

See examples into examples directory

Documentation

Splynx API documentation

Keywords

install

npm i splynx-nodejs-api

Downloadsweekly downloads

31

version

1.0.8

license

MIT

repository

Gitbitbucket

last publish

collaborators

  • avatar
Report a vulnerability