Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cherestjs

gsfjohnson44MIT0.0.11

REST interface to popular IT Service Management service

readme

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: `javascript 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.
```shell
node main.js