0.1.3 • Published 3 years ago

@coopersystem-fsd/edesenv-client v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Edesenv Client

A NodeJS Client crawler that extracts the check point data from Edesenv

GitHub Workflow Status

Install

yarn add @coopersystem-fsd/edesenv-client

Usage

Create an instance of EdesenvClient to call the avaialable APIs. E.g.:

import { EdesenvClient } from '@coopersystem-fsd/edesenv-client';

const client = new EdesenvClient({
  username: 'your.user',
  password: 'secret'
});
await client.getCheckPointEntriesToday();

APIs

MethodDescriptionReturn
getCheckPointEntriesTodayReturn the check point entries registered for the actual day.Date[]
checkinCreate an entry check point for today (TODO)boolean
checkoutCreate an exit check point for today (TODO)boolean