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

Add games/stats endpoint #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add games/stats endpoint #1

wants to merge 3 commits into from

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