0.0.6 • Published 3 years ago

asureforce v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

ASURE FORCE

This is a third-party package to connect with Asure Force API

Getting Started

import { AsureForceConnect } from 'asureforce';

const connect = new AsureForceConnect({
    baseURL: "YOUR_ASURE_FORCE_URL",
    user: "YOUR_USER",
    pass: "YOUR_PASS",
});

await connect.getEmployees({
    $select: [],
    $expand: [],
    $top: 1,
    $skip: 0,
})
await connect.getEmployee('YOUR_EMPLOYEE_KEY', {config})

Asure Force Connector Configuration

ParameterTypeRequiredDefault
baseURLstringtrueN/A
userstringtrueN/A
passstringtrueN/A
debugEnabledbooleanfalsefalse

Asure Force QueryOptions

ParameterDescriptionTypeRequired
$selectYou can choose any property that you want get in the first level of the main objectstring[]false
$expandYou only can choose property that will have sub property in the first level of the main objectstring[]
$topindicates quantity of objects that you want to getnumberfalse
$skipindicates quantity of objects that you want to jumpnumberfalse
0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago