https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet
This gist is for doing some batch query testing against GA. The data we need is:
Page level
- pageviews, users, newUsers =>
pageview-query.js
setting
pageSize
to100
to get thenextPageToken
in the response users = "The total number of users for the requested time period"