Reports API Methods

This article details methods the host page can use to interact with Reports API.

LearnosityReports

The following methods are accessed via the window.LearnosityReports object.

When the Reports API script has loaded, the LearnosityReports object is instantiated, and ready for use.

reportsApp

The following methods are accessed via the reportsApp object returned by window.LearnosityReports.init(). This object provides methods to interact with, and receive information relating to the reports on page.

report

The following methods are accessed via the report object returned by the getReport() public method. This object provides methods to interact with, and receive information for individual reports.