import requests
requests.get?
requests.post?
response = requests.get('http://www.fashwell.com/api/demo/v1/posts/recent/',params={'limit':'50'}, headers={'accept': 'application/json','Authorization': 'Token 1a212cbe8d84547983da27d98b260e5082851f7b','X-CSRFToken':'wge5xalylp36aJ9txzD9EDahbex1MvepqczdANk3kkvuALivMNsqyooxA94VVPsc'})
response.status_code
200
import IPython
IPython.display.HTML(response.text)
{"count":5,"next":null,"previous":null,"results":[{"url":"http://www.fashwell.com/api/demo/v1/posts/RKMB09YmB3pm7/","post_id":"RKMB09YmB3pm7","instagram_id":null,"instagram_url":null,"gender":"female","user_name":"fashion_brain","curated_at":null},{"url":"http://www.fashwell.com/api/demo/v1/posts/De9BJRpVBmyVn/","post_id":"De9BJRpVBmyVn","instagram_id":null,"instagram_url":null,"gender":"female","user_name":"fashion_brain","curated_at":null},{"url":"http://www.fashwell.com/api/demo/v1/posts/GN7BvDA0BdGEX/","post_id":"GN7BvDA0BdGEX","instagram_id":null,"instagram_url":null,"gender":null,"user_name":"fashion_brain","curated_at":null},{"url":"http://www.fashwell.com/api/demo/v1/posts/nnjZ4Ez6ZKdoL/","post_id":"nnjZ4Ez6ZKdoL","instagram_id":null,"instagram_url":null,"gender":null,"user_name":"fashion_brain","curated_at":null},{"url":"http://www.fashwell.com/api/demo/v1/posts/rnjZ4Ma9ZBOXj/","post_id":"rnjZ4Ma9ZBOXj","instagram_id":null,"instagram_url":null,"gender":null,"user_name":"fashion_brain","curated_at":null}]}
import pandas
%pylab inline
Populating the interactive namespace from numpy and matplotlib