import urllib, json url = "put url here" response = urllib.request.urlopen(url) data = json.loads(response.read()) print (data)