I added this line of code to my working code
// Do the magic const request = gapi.client.analytics.management.accountSummaries.list(); request.execute(han