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 Season Endpoint #5414

Open
wants to merge 2 commits into
base: py3
Choose a base branch
from

Conversation

BodhaanshRavipati325
Copy link

Description

Responding to an issue asking for more information on the season in the status endpoint. This creates a new endpoint called season with the kickoff time in UTC and future data.

Motivation and Context

This adds data from the FRC API to the Blue Alliance API for easier access. #5248

How Has This Been Tested?

Tested in a Flask Server.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • [x ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change API specifications or require data migrations)

Copy link
Member

@phil-lopreiato phil-lopreiato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Thanks for the contribution (and sorry for the delay in review...)

I wonder if we should instead import the data from FIRST's API, store it in the TBA database, and make endpoints like /status/season/<year> to return them individually. That way, we don't have to duplicate other parts of /status and can just plumb through whatever FIRST has upstream

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.

None yet

2 participants