0.3.1 • Published 7 years ago
bullhorn v0.3.1
Bullhorn REST API TypeScript SDK
A simple Bullhorn REST API TypeScript SDK for both node and browser.
Installation
yarn add bullhorn
Getting Started
import BullhornClient from "bullhorn";
let client = new BullhornClient({
server: 'xxx',
authServer: 'xxx',
clientId: 'xxx',
secret: 'xxxx',
redictionUrl: 'xxx'
});
client.login('username', 'password').then(()=>{
// Get an entity by id
return client.getEntity("Note", "noteId", ["field list"]).then(note => {
console.log("Note", note);
});
}).then();