Skip to content

Auto pull and store team names. #44

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

Open
DrewWing opened this issue May 20, 2025 · 1 comment
Open

Auto pull and store team names. #44

DrewWing opened this issue May 20, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@DrewWing
Copy link
Owner

Automatically pull (from the FIRST API) and store the associated team names from their numbers. Only pull new names that aren't already in the database.

@DrewWing
Copy link
Owner Author

Use eventdata/event_teams.json to grab the team names and numbers?
in __main__.py,

  1. check if each team name is already in database (perhaps when pulling matches or rankings?), maybe something like generatedfiles/SEASON_YEAR/team_names.json
  2. If not, make a FIRST API call to grab the team name
  3. Put the team name into the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant