Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish team_standings() parsing of data into class objects #16

Open
Esterni opened this issue Jul 16, 2020 · 0 comments
Open

Finish team_standings() parsing of data into class objects #16

Esterni opened this issue Jul 16, 2020 · 0 comments

Comments

@Esterni
Copy link
Owner

Esterni commented Jul 16, 2020

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.

@Esterni Esterni added this to the Initial Release milestone Jul 22, 2020
@Esterni Esterni removed this from the Initial Release milestone Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant