维基百科:如何获取所有页面的页面访问次数

Wikipedia: How to get the number of page visits for all pages

我想获取英文版所有页面在特定时间段内的维基百科页面访问量。

该信息是否包含在转储文件之一中?

我可以使用 Wikipedia Web API 或 Wikidata SPARQL API 获取该信息吗?

我用谷歌搜索、阅读维基百科网络 API 规范并下载并检查了一些维基百科转储文件,但找不到相关信息。

有一个API专门用于收集页面浏览数据。参见 https://wikitech.wikimedia.org/wiki/Analytics/AQS/Pageviews for details and examples. If I understand your question correctly, then changing the dates in this call will give you the desired results, although you will need to sum daily values: https://wikimedia.org/api/rest_v1/metrics/pageviews/aggregate/en.wikipedia/all-access/all-agents/daily/2015100100/2015103000