0.0.3 • Published 8 years ago
servicetitan v0.0.3
node-servicetitan
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