recruitee

0.4.0 • Public • Published

Recruitee Node.js Library

The Recruitee Node library is a simple wrapper for the Recruitee Private API for applications written in Node.js.

Installation

Install the package with:

npm install recruitee --save

Usage

To start using the library, create a new instance of the Recruitee class and pass it your company ID and API token. Both of these can be found on your Recruitee dashboard.

const Recruitee = require('recruitee');
const client = new Recruitee('YOUR_COMPANY_ID', 'YOUR_API_TOKEN');

All API methods return promises, which means you can chain them to create complex workflows:

const candidateId = 123;

client.candidates.fetch(candidateId)
  .then((candidate) => {
    return client.evaluations.create(candidateId, {
      kind: "template_form",
      rating: "yes",
      rating_note: "Awesome interview!"
    });
  })

Development

Run the test suite with:

npm test

/recruitee/

    Package Sidebar

    Install

    npm i recruitee

    Weekly Downloads

    0

    Version

    0.4.0

    License

    MIT

    Unpacked Size

    146 kB

    Total Files

    25

    Last publish

    Collaborators

    • theycallmeswift