Perhaps relevant for folks not on the GLAM list as well.
A.
---------- Forwarded message ----------
From: Asaf Bartov <abartov(a)wikimedia.org>
Date: Tue, May 10, 2016 at 7:23 PM
Subject: Pileviews - new/backup tool:
To: Wikimedia Chapters cultural partners coordination <
cultural-partners(a)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.
--
Asaf Bartov
Wikimedia Foundation <http://www.wikimediafoundation.org>
Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us make it a reality!
https://donate.wikimedia.org
--
Asaf Bartov
Wikimedia Foundation <http://www.wikimediafoundation.org>
Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us make it a reality!
https://donate.wikimedia.org