1.0.0 • Published 3 years ago

@dataroad/dataroad-sdk-nodejs v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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)