bullhorn
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i bullhorn

Weekly Downloads

6

Version

0.3.1

License

MIT

Last publish

Collaborators

  • fenfeizeng