mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-12-27 18:19:09 +00:00
updates for 2023ilpe
This commit is contained in:
parent
11398290eb
commit
8e6c44db65
@ -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()
|
||||
|
@ -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)
|
||||
|
@ -12,4 +12,4 @@ requests
|
||||
scikit-learn
|
||||
scipy
|
||||
six
|
||||
tra-analysis
|
||||
tra-analysis
|
||||
|
Loading…
Reference in New Issue
Block a user