python get json response from url code example Example: fetch a json from url python import requests r = requests.get('url') print r.json()