npm.io
0.1.3 • Published 9 years ago

bullhorn.ts

Licence
Version
0.1.3
Deps
2
Vulns
0
Weekly
0

Bullhorn REST API typescript client

For both node and browser.

Installation

npm install bullhorn.ts

Getting Started

import BullhornClient from "bullhorn.ts";

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();