@dataroad/dataroad-sdk-nodejs

1.0.0 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i @dataroad/dataroad-sdk-nodejs

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

47.4 kB

Total Files

30

Last publish

Collaborators

  • pedrofolim