An absence.io API client. For a documentation on the API see the absence.io API.
Run yarn add absence.io
or npm install absence.io
.
A complete documentation is available at https://ffflorian.github.io/api-clients/packages/absence.io/.
import {AbsenceIO} from 'absence.io';
const absenceIO = new AbsenceIO({
apiKey: '<your API key here>',
apiKeyId: '<your API key ID here>',
});
absenceIO.api.absence.retrieveAbsences().then(absences => console.log(absences));
yarn
yarn test