Hi Jonas,
Unfortunately there is no api right now. We started work on that 2 years go, but it was put on hold due to lack of resources and other priorities.
All data used in wikistats are available for download in csv files. But these are huge, even if compressed, some csv files are GB's. And documentation is sparse. Many files even don't have headers. (But I'm happy to advise) http://dumps.wikimedia.org/other/pagecounts-ez/wikistats/
I'm thinking of two improvements that would help mid-term before we have a neat api: - documenting and standardizing current csv files, providing headers - providing extra csv files which match aggregated data in html reports closely and add a link to those from the reports Still not a trivial matter, there are 20-30 different html tables.
As a super quick solution that works for most tables:
Open the report in Firefox - select rows - paste into Excel as 'Paste Special - text'
I hope this helps,
Cheers,
Erik Zachte
-----Original Message----- From: analytics-bounces@lists.wikimedia.org [mailto:analytics-bounces@lists.wikimedia.org] On Behalf Of Jonas Xavier Sent: Wednesday, July 24, 2013 4:51 AM To: A mailinglist for the Analytics Team at WMF and everybody who has an interest in Wikipedia and analytics. Subject: [Analytics] Wikipedia stats API
Hi folks,
Is there an API to request statistical numbers of Wikipedia? By statistical data I mean what Wikistats provides, but there I can only get HTML tables which I'd need to parse "by hand", at the same time I don't know if there is a Limn server with these data, is there?
Another thing, an API providing it make sense or already exists an easier solution?
Thank you,
-- Jonas Xavier
Ô__ ---- social: https://joindiaspora.com/i/f58dad0668db c/ /'_ --- email: eris@sdf.org (*) (*) -- chat: eris@jabber.sdf.org ~~~~~~~~~~ -
_______________________________________________ Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics