LMS API client
npm install @ikonintegration/lms-api-clientBCCSA Program API nodejs API client
- !npm !npm !npm (tag) !Libraries.io dependency status for latest release, scoped npm package
- !GitHub commit activity
- !GitHub last commit
``
import LMSClient from '@ikonintegration/bccsa-program-api-client';
const API = new LMSClient({
endpoint: LMSAPIEndpoint,
statsEndpoint: LMSStatsEndpoint,
authorizationToken: '', -- optional, IDM JWT for shared module admins and user routes -- Accepts a function to be called async and return the token
tenantID: '', customerID: ''
});
//Do something
const resp = await API.certification.xyz(ID);
if (!resp || resp.statusCode != 200) {
return ERROR:
} return SUCCESS;
``
TODO