@quarks/voyager-sdk-nodejs
v2.0.3
Published
Voyager SDK for Node.js
Downloads
4
Readme
Voyager SDK for Node.js
Install
$ npm install @quarks/voyager-sdk-nodejs --save
Configure
new VoyagerBackend(config)
var VoyagerSDKClient = require('@quarks/voyager-sdk-nodejs');
// If the client has been pre-registered, pass the url to constructor
var client = new VoyagerSDKClient({
url: 'https://voyager.quarks-ecosystem.io',
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)