mirror of
https://github.com/MoonlitJolteon/frc-stat-predictor.git
synced 2025-11-01 13:40:21 +00:00
I need to remember to commit more
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"TBA_TOKEN": "Get your read API token here: https://www.thebluealliance.com/account",
|
"TBA_TOKEN": "Get your read API token here: https://www.thebluealliance.com/account",
|
||||||
"USE_ISA_DATA": false,
|
"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"
|
||||||
}
|
}
|
||||||
@ -62,6 +62,16 @@ class IndianaScoutingAllianceConnector(DataSource):
|
|||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
return response.json()
|
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):
|
def get_team_info(self, team_number):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user