Hi Itzik,
It looks like GLAMorous has an XML endpoint
<https://tools.wmflabs.org/glamtools/glamorous.php?doit=1&category=Wikimedia+Israel+-+Channel+2+videos&use_globalusage=1&ns0=1&show_details=1&projects[wikipedia]=1&projects[wikimedia]=1&projects[wikisource]=1&projects[wikibooks]=1&projects[wikiquote]=1&projects[wiktionary]=1&projects[wikinews]=1&projects[wikivoyage]=1&projects[wikispecies]=1&projects[mediawiki]=1&projects[wikidata]=1&projects[wikiversity]=1&format=xml>
for
the data, so it's possible for me to add a new "Source" into Massviews for
this specific purpose. I will look into it :)
However it sounds like what you really want is the number of times the
media was actually played, which is what the code was for that Nemo linked
to. I'm working on a client for this (T149642
<https://phabricator.wikimedia.org/T149642>) that I hope to be released
soon. It will allow you to plug in the Commons category and get all the
plays for each file within it. The API that makes this possible is up and
running, if are able to make use of it. For instance here
<https://tools.wmflabs.org/mediaplaycounts/api/1/CategoryPlaycount/date/Wikimedia_Israel_-_Channel_2_videos/20170101>
are
the play counts for each file on January 1, 2017. See also the API
documentation <https://phabricator.wikimedia.org/P4339>.
Hope this helps, if not just to tell you a solution is soon to come!
~ MusikAnimal
On Sun, Feb 26, 2017 at 11:56 AM, Itzik - Wikimedia Israel <
itzik(a)wikimedia.org.il> wrote:
ammm.. maybe a easier way for someone who don't
want to play with code and
download dumps? :)
*Regards,Itzik Edri*
Chairperson, Wikimedia Israel
+972-54-5878078 <+972%2054-587-8078> |
http://www.wikimedia.org.il
Imagine a world in which every single human being can freely share in the
sum of all knowledge. That's our commitment!
On Sun, Feb 26, 2017 at 5:23 PM, Federico Leva (Nemo) <nemowiki(a)gmail.com>
wrote:
Itzik - Wikimedia Israel, 26/02/2017 16:13:
file from a specific commons category
("Wikimedia Israel - Channel 2
videos").
https://github.com/hay/wiki-tools/blob/master/etc/mediacounts-stats.py
Nemo
_______________________________________________
Analytics mailing list
Analytics(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics
_______________________________________________
Analytics mailing list
Analytics(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics