def get ( url ) : response = urllib . request . urlopen ( url ) data = response . read ( ) data = data . decode ( "utf-8" ) data = json . loads ( data ) return data
python read json from web
Recieving the JSON file from uulm
def get(url):
    """Recieving the JSON file from uulm"""
    response = urllib.request.urlopen(url)
    data = response.read()
    data = data.decode("utf-8")
    data = json.loads(data)
    return data