Module peoplehr

ballerinax/peoplehr Ballerina library

2.2.0

Overview

PeopleHR connector provides the capability to access the operation to manage employee details, holidays and salaries etc.

This module supports 3.1 version.

Prerequisites

Before using this connector in your Ballerina application, complete the following:

Quickstart

To use the people connector in your Ballerina application, update the .bal file as follows: Add steps to create a simple sample

Step 1 - Import connector

Copy
import ballerinax/peoplehr;

Step 2 - Create a new connector instance

Copy
peoplehr:Client baseClient = check new ({apiKey: <API Key>, baseURL: "https://api.peoplehr.net"});

Step 3 - Invoke connector operation

Copy
peoplehr:QueryDetail response = check baseClient->getQueryByName({QueryName: <Query Name>});

Use bal run command to compile and run the Ballerina program.

Import

import ballerinax/peoplehr;Copy

Metadata

Released date: 9 months ago

Version: 2.2.0

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.4.1

GraalVM compatible: Yes


Pull count

Total: 

Current verison: 17


Weekly downloads


Source repository


Keywords

Human Resources/HRMS
Cost/Paid

Contributors

Other versions

See more...