0.0.3 • Published 8 years ago

servicetitan v0.0.3

Weekly downloads
17
License
-
Repository
github
Last release
8 years ago

node-servicetitan

Build Status npm version npm version

Node Servicetitan is a node.js wrapper for the go.servicetitan.com api.

Installation

npm install servicetitan

Usage

'use strict';

var st = require('servicetitan')({
  key : '00000000-0000-0000-0000-000000000000'
});

st
  .getCustomers({
    id : 0
  })
  .then(function(res) {
    console.log(res);
  })
  .catch(function(err) {
    console.log('Error');
  });

Test

API_KEY="00000000-0000-0000-0000-000000000000" npm test