Skip to content

Find total points for each team's starters. #229

Answered by cwendt94
rbhall303 asked this question in ESPN API
Discussion options

You must be logged in to vote

One way to optimize this function would be instead of only saving players for one team, have the main dictionary key be teamId and then have the value be the starters dictionary.

This way you would only need to run through this function once and add starters and their points for every team.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@rbhall303
Comment options

@cwendt94
Comment options

Answer selected by rbhall303
Comment options

You must be logged in to vote
2 replies
@rbhall303
Comment options

@joshbis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants