Skip to content

rantalainen/hailey-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hailey-api-client

HaileyApiClient is a third party Hailey API client for NodeJS. It is a wrapper around an API client that has been automatically generated using the OpenAPI schema provided by Hailey.

Installation

Add to project's package.json:

npm install @rantalainen/hailey-api-client

Import

import { HaileyApiClient } from '@rantalainen/hailey-api-client';

Setup client with options

In order to obtain an API key, please contact Hailey Support. An API key is needed to access all API functions.

const hailey = new HaileyApiClient(
  {
    accessToken: 'accessToken'
  },
  {
    baseURL: 'https://api.demo.haileyhr.app/'
  }
);

const response = await hailey.api.employees.employeesList();

Available methods can be found in the API documentation.

Resources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published