mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-12-29 02:59:08 +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
|
return out
|
||||||
|
|
||||||
def get_pit_data_formatted(client, competition):
|
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.json()
|
||||||
x = x['data']
|
x = x['data']
|
||||||
x = x.keys()
|
x = x.keys()
|
||||||
|
@ -2,7 +2,7 @@ import requests
|
|||||||
from exceptions import APIError
|
from exceptions import APIError
|
||||||
from dep import load_config
|
from dep import load_config
|
||||||
|
|
||||||
url = "https://titanscouting.epochml.org"
|
url = "https://scouting.titanrobotics2022.com"
|
||||||
config_tra = {}
|
config_tra = {}
|
||||||
load_config("config.json", config_tra)
|
load_config("config.json", config_tra)
|
||||||
trakey = config_tra['persistent']['key']['tra']
|
trakey = config_tra['persistent']['key']['tra']
|
||||||
|
Loading…
Reference in New Issue
Block a user