I am trying to GET a URL using Python and the response is JSON. However, when I run
import urllib2 response = urllib2.urlopen(\'https://api.instagram.com/v1/
you can also get json by using requests as below:
requests
import requests r = requests.get('http://yoursite.com/your-json-pfile.json') json_response = r.json()