request.add_header('User-Agent',
    'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)')
request.add_header('Content-Type', 'application/json')
response = urllib.request.urlopen(request)
json_object = json.load(response)
if json_object['team'] == []:
    print('No Data!')
else:
    for rows in json_object['team']:
        print('Team ID:' + rows['team_id'])
print('Team Name:' + rows['team_name'])
print('Team URL:' + rows['team_icon_url'])
How can I loop over entries in JSON?