Fetching Scheduled Reports
Initialization
To fetch scheduled reports, you must first initiate the Vizzly SDK.
Initializing the Vizzly SDK
Ensure you have loaded the Vizzly package by following the prerequisite steps in our initializing guide.
If needed, you will also then be able to fetch the Vizzly instance using the following code.
const vizzly = Vizzly.use();
Usage
After initializing the services package, you can fetch scheduled reports for a user;
const dashboardAccessToken: string = '<< Dashboard access token signed by your identity logic >>';
await vizzly.getScheduledReports(dashboardAccessToken);