updates for 2023ilpe

This commit is contained in:
Dev Singh 2023-03-17 10:09:48 -05:00
parent 11398290eb
commit 8e6c44db65
3 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ def get_metrics_data_formatted(client, competition):
return out
def get_pit_data_formatted(client, competition):
x=requests.get("https://titanscouting.epochml.org/api/fetchAllTeamNicknamesAtCompetition?competition="+competition)
x=requests.get("https://scouting.titanrobotics2022.com/api/fetchAllTeamNicknamesAtCompetition?competition="+competition)
x = x.json()
x = x['data']
x = x.keys()

View File

@ -2,7 +2,7 @@ import requests
from exceptions import APIError
from dep import load_config
url = "https://titanscouting.epochml.org"
url = "https://scouting.titanrobotics2022.com"
config_tra = {}
load_config("config.json", config_tra)
trakey = config_tra['persistent']['key']['tra']
@ -60,4 +60,4 @@ def get_teams_at_competition(competition):
if json['success']:
return list(json['data'].keys())
else:
raise APIError(json)
raise APIError(json)

View File

@ -12,4 +12,4 @@ requests
scikit-learn
scipy
six
tra-analysis
tra-analysis