## Introduction ## Learn REST API with Python script, slides : http://www.slideshare.net/larrycai/learn-rest-apiwithpython REST/JSON is perfect match to fetch web data, and [python requests module](http://www.python-requests.org/) * Ex1: using command line tool `curl` and browser to access http://httpbin.org/get * Ex2: Install `requests` module and try to access http://httpbin.org/get in python interactive module, print r.json() * Ex3: Use below `restapi.py` as base to implement access data in script * Ex4: continue to access https://api.github.com via GET method * Ex5: Use POST API to upload your scripts to gist * Ex6: All gist API command, OAuth, Jenkins API One sample for all the exercises are from https://github.com/Mamahaha/python/blob/master/restapi.py