-
-
Couldn't load subscription status.
- Fork 27
Description
team_standings is the only URL endpoint that returns data in a completely unique format. The response format for team data is a single list of dictionaries. Just one. There are 35 attributes that make up a team from the provided URL endpoint, but none of these attributes list the individual drivers that make up the team, but they are there.
The dictionaries are ordered as: TDDD-TDD-TDDDDDD-TD-TDDD-TDD (T = Team, D = Driver)
The common attribute shared among a team and all of it's members is TeamID. Unfortunately, we'll have to iterate through all dictionary values in order to separate them into their respective objects, which will have identical keys.