I need to remember to commit more

This commit is contained in:
2025-04-23 11:07:51 -04:00
parent 252179ee80
commit 94084084f3
2 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{
"TBA_TOKEN": "Get your read API token here: https://www.thebluealliance.com/account",
"USE_ISA_DATA": false,
"ISA_TOKEN": "If you are a member of the Indiana Scouting Alliance, put your token here. Reach out to the discord if you don't know how to get it"
"ISA_TOKEN": "If you are a member of the Indiana Scouting Alliance, put your token here. Reach out to the discord if you don't know how to get it",
"OLLAMA_MODEL": "dolphin-mixtral:latest"
}

View File

@ -62,6 +62,16 @@ class IndianaScoutingAllianceConnector(DataSource):
if response.status_code == 200:
return response.json()
def get_robot_notes(self, team_number, event_code=None):
notes_url = self.__build_ISA_robot_url(
"0011000000000000000000000000010000000000000000000000000000000000000000000000000000000000000",
[str(team_number)],
event_code,
)
response = requests.get(notes_url, headers=self.__headers)
if response.status_code == 200:
return response.json()
def get_team_info(self, team_number):
pass