2.0.3 • Published 4 years ago

@quarks/voyager-sdk-nodejs v2.0.3

Weekly downloads
-
License
-
Repository
gitlab
Last release
4 years ago

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)