@dataroad/dataroad-sdk-nodejs
v1.0.0
Published
dataroad SDK for Node.js
Downloads
0
Readme
DataRoad SDK for Node.js
Install
$ npm install @dataroad/dataroad-sdk-nodejs --save
Configure
new DataRoadSDK(config)
var DataroadSDK = require('@dataroad/dataroad-sdk-nodejs');
// If the client has been pre-registered, pass the url to constructor
var client = new DataroadSDK({
url: 'https://app.dataroad.com.br',
token: '<ACCESS_TOKEN>'
})
Ex:
#### Templates
#### GET - client.templates.list()
#### GET - client.templates.find(qs)
#### POST - client.templates.create(data)
#### PUT - client.templates.update(id, data)
#### DELETE - client.templates.delete(id)