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