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