- removed mwclient (requests params argument is basically good enough)
- shows examples that uses params and that do it the "hard way" to show what it's doing
- added examples for getting pages in category and categories for a page
- move to Python 3 (i.e., print()'ify stuff)
- requests can do JSON natively using .json() on the request object which
solves the problem with requests returning bytes
Frances Hocutt [Sat, 15 Nov 2014 07:40:25 +0000 (23:40 -0800)]
Removed simplejson, updated mwclient, replaced urllib2 with requests
Updated and simplified the example programs for the fall CDSW.
simplejson is replaced with json, mwclient is updated to the dev version,
and all API calls use requests (included in Anaconda) instead of urllib2.