Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md First commit Jan 21, 2019
index.ts First commit Jan 21, 2019
package-lock.json 1.0.1 Jan 23, 2019
package.json
test.ts First commit Jan 21, 2019
tsconfig.json Compile module umd Jan 23, 2019

README.md

Bullhorn API

Install

npm install --save bullhorn-api

Usage

const bullhorn = new Bullhorn({
  client_id: '',
  client_secret: '',
  username: '',
  password: '',
});

bullhorn.login()
  .then(data => {
    const query = encodeURIComponent('dateAvailable:[20170101 TO 20190101]');
    bullhorn.fetch(`search/Candidate?query=${query}&fields=name`)
      .then(req => {
        return req.json();
      }).then((req) => {
        console.log(req)
      })
  });