debug
This commit is contained in:
@@ -29,6 +29,7 @@ def fetch_data():
|
||||
data = resp.json()
|
||||
|
||||
for player in data["team1"]["players"]:
|
||||
print(player)
|
||||
players['team1'].append({
|
||||
"first_name": player['first_name'],
|
||||
"last_name": player['last_name'],
|
||||
@@ -39,6 +40,7 @@ def fetch_data():
|
||||
"injury_body_part": player['injury_body_part']
|
||||
})
|
||||
for player in data["team2"]["players"]:
|
||||
print(player)
|
||||
players['team1'].append({
|
||||
"first_name": player['first_name'],
|
||||
"last_name": player['last_name'],
|
||||
|
||||
Reference in New Issue
Block a user