cherestjs

0.0.11 • Public • Published

Cherestjs for Node.js

Build Status

This module enables REST calls to the popular IT Service Management Software's REST API.

Installation

  • Install Node.js
  • Install module with npm:
npm install cherestjs

Usage

  • Create main.js file with the following code:
var cherestjs = require('cherestjs');

var cw = cherestjs('<host.fqdn.org>', '<api key>', '<username>', '<password>');

cw.getBusinessObject('<ticket id number>', function (err, object) {
  console.log(object);
});
  • Run following command.
node main.js

Readme

Keywords

none

Package Sidebar

Install

npm i cherestjs

Weekly Downloads

10

Version

0.0.11

License

MIT

Last publish

Collaborators

  • gsfjohnson