Skip to content

Add games/stats endpoint#1

Open
iliana wants to merge 3 commits intoxSke:mainfrom
iliana:statsheets
Open

Add games/stats endpoint#1
iliana wants to merge 3 commits intoxSke:mainfrom
iliana:statsheets

Conversation

@iliana
Copy link

@iliana iliana commented Jan 20, 2021

This adds a /v1/games/stats?game={gameId} endpoint which returns all the relevant statsheets for a game. It seems to be reasonably performant (in earlier seasons, this is aided by looking for the last statsheet before the next games would begin).

@iliana iliana changed the title Statsheets Add games/stats endpoint Jan 20, 2021
@iliana
Copy link
Author

iliana commented Jan 28, 2021

Looking for the last statsheet recorded before the next games begin means we don't return any statsheets that were backfilled, so I'm going to adjust that logic.

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

Successfully merging this pull request may close these issues.

1 participant