bamboohr
v0.1.0
Published
Node wrapper for the Bamboo HR API.
Downloads
81
Readme
Installation
npm install bamboohr --save
Usage
var Bamboohr = require('bamboohr');
var subDomain = 'xxxxx';
var apiKey = 'xxxxxxxxxxxxxxxxxxxxxxxx';
bamboo = new Bamboohr(subDomain, apiKey);
var method = 'GET';
var path = '/v1/employees/directory';
var parameters = {};
bamboo.call(method, path, parameters)
.then((result) => {
console.log(result);
}).catch((err) => {
console.log(err);
})