For our offline compilation prototyping we'd like to generate a set of ZIM files including one with the 5000 most-viewed articles for a project in a month, and another with the 50,000 most-viewed articles.
It looks like the AQS Pageview API only gives us the top 1000 for this kind of query:
https://wikimedia.org/api/rest_v1/metrics/pageviews/top/en.wikipedia/all-access/2017/07/all-days
What's the best way to get this information for greater numbers of articles? Can the API be updated to expose parameters for larger lists? (Is the data there in the backing tables?)
https://dumps.wikimedia.org/other/pagecounts-ez/merged/ (see the -totals files) looks like it has the pageview counts we need if we have to go the DIY route.