Community Data Science Workshops (Spring 2014)/May 3rd Wikipedia project: Difference between revisions

m
moved to wiki.communitydata.cc
imported>Mako
No edit summary
imported>Jtmorgan
m (moved to wiki.communitydata.cc)
 
(2 intermediate revisions by one other user not shown)
Line 1:
{{CDSW Moved}}
 
[[File:Wikipedia.png|right|250px]]
__NOTOC__
Line 28 ⟶ 30:
* looking at the images within a page http://en.wikipedia.org/w/api.php?action=query&titles=Seattle&prop=images&imlimit=20&format=jsonfm
* change the city with a custom URL
* edit count http://en.wikipedia.org/w/api.php?action=query&list=users&ususers=Benjamin_Mako_Hill|Jtmorgan|Sj|Mindspillage&usprop=editcount&format=jsonfm
* (if time) parse through the output
* (ifget time)the editcontent countof the main page http://en.wikipedia.org/w/api.php?format=json&action=query&listtitles=usersMain%20Page&ususersprop=Benjamin_Mako_Hill|Jtmorgan|Sj|Mindspillagerevisions&usprop=editcount&formatrvprop=jsonfmcontent
* (if time) give me the content of the main page http://en.wikipedia.org/w/api.php?format=json&action=query&titles=Main%20Page&prop=revisions&rvprop=content
Anonymous user