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

no edit summary
imported>Mako
No edit summary
imported>Mako
No edit summary
Line 21:
* [[Community Data Science Workshops/May 3rd Wikipedia project OS X setup|OS X]]
* [[Community Data Science Workshops/May 3rd Wikipedia project Linux setup|Linux]]
 
=== Example topics to cover in Lecture ===
 
* explain MediaWiki, exists on other wikis
* navigate to [http://en.wikipedia.org/w/api.php api page] and show the documentation, point out examples
* 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
* (if time) parse through the output
* (if time) 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) 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