1.0.1 • Published 5 years ago

bullhorn-api v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

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