Skip to content

codler/bullhorn-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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