Node.js wrapper for the go.servicetitan.com api.
$ npm install servicetitan
'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');
});
$ export API_KEY="00000000-0000-0000-0000-000000000000"
$ npm test