-
Creating a TeamData object for a website:
- The link will provide the name for the JSON file
- The 6 digit code is the game id, and is crucial for getting the correct data
Accessing data:
- print(team.batters) --> prints the ids of the players
- print(team.pitchers) --> prints the ids of the pitchers
- print(team.codes) --> prints the team codes