Hi all,

the Wikimedia Foundation's Reading Infrastructure team [1] is preparing to work on exposing pageview data in the action API [2]. Pageview data is already available as a standalone REST API [3] but we are hoping to make access to that information more convenient by including it in the output of other APIs as well. 

This could include information like daily pageview totals for the wiki for the last X day, monthly unique visitors, list of the most-viewed pages, daily view totals for specific pages (integrated with other page information the API provides).

It is important that we understand what use cases to expect when selecting what information to include and making other design decisions; if you might use such an API in the future, please leave a comment on the task [4] and tell us how you would use it and what information you expect from it.

Thanks!

Gergő
https://www.mediawiki.org/wiki/User:Tgr_(WMF)



[1] https://www.mediawiki.org/wiki/Wikimedia_Reading_Infrastructure_team
[2] a.k.a. api.php or MediaWiki API - the one at https://www.mediawiki.org/wiki/Special:ApiSandbox
[3] https://wikitech.wikimedia.org/wiki/Analytics/PageviewAPI
[4] https://phabricator.wikimedia.org/T144865