simple-node-sdk

0.0.2 • Public • Published

SIMPLE NODE SDK

Sample NodeJS SDK

Installation

npm install --save simple-node-sdk

Setup

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);
});

Package Sidebar

Install

npm i simple-node-sdk

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

2.21 MB

Total Files

14

Last publish

Collaborators

  • ashish_shetty