Sample NodeJS SDK
npm install --save simple-node-sdk
const nodeSDK = require('simple-node-sdk');
const mockFunctions = nodeSDK('apiKey', 'secretApiKey');
Quickly test that you can connect to the API with the following call:
mockFunctions.consoleAuthorsName().then((result) => {
console.log(result);
}).catch((err) => {
console.log(err);
});
mockFunctions.consoleMyName().then((result) => {
console.log(result);
}).catch((err) => {
console.log(err);
});