The XAPI Class
The xAPI class which manages the communication with the LRS.
new XAPI()
To use any of the Resources, you will need to create a new instance of XAPI with credentials.
Parameters
Parameter | Type | Required | Description |
endpoint | string | true | The URL of the endpoint. |
auth | string | false | The |
version | false | The version of xAPI to use. Defaults to | |
adapter | false | The underlying adapter to make HTTP requests with. Accepts |
Returns
This returns an XAPI object which you can use to communicate with the LRS.
Last updated