@ikonintegration/lms-api-client
v0.0.45
Published
LMS API client
Downloads
358
Readme
bccsa-program-api-client
BCCSA Program API nodejs API client
Overall
How to Use
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;
Available API methods
TODO