0.1.3 • Published 7 years ago

bullhorn.ts v0.1.3

Weekly downloads
9
License
-
Repository
-
Last release
7 years ago

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