Perhaps relevant for folks not on the GLAM list as well.
A.
---------- Forwarded message ---------- From: Asaf Bartov abartov@wikimedia.org Date: Tue, May 10, 2016 at 7:23 PM Subject: Pileviews - new/backup tool: To: Wikimedia Chapters cultural partners coordination < cultural-partners@wikimedia.ch>
Hullo, everyone.
Shani encountered a problem using Treeviews to obtain pageview information for a PagePile https://tools.wmflabs.org/pagepile/ -- for some reason it was returning zero for all pages, even though the Pageviews API itself returns correct data.
I wrote a quick, simple replacement/backup tool that produces a CSV file of pageview data (by month) for a given PagePile ID. It is available on Tool Labs here: https://tools.wmflabs.org/pileviews
Or as a standalone Ruby script, if you prefer to run it yourself: https://github.com/abartov/wikimedia_tools/tree/master/pileviews
I hope this helps others, too.
Cheers,
A.
wikimedia-l@lists.wikimedia.org