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