mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
Merge branch 'master' of https://github.com/ltcptgeneral/tr2022-strategy
This commit is contained in:
commit
4188b4b1c3
@ -62,6 +62,14 @@ def req_event_elim_alli(event_key, apikey):
|
||||
r=requests.get('https://www.thebluealliance.com/api/v3/event/'+str(event_key)+'/alliances', headers=headers)
|
||||
return r
|
||||
|
||||
#requests oprs and dprs
|
||||
def req_event_opr(event_key, apikey):
|
||||
headers={'X-TBA-Auth-Key':apikey}
|
||||
r=requests.get('https://www.thebluealliance.com/api/v3//event/'+str(event_key)+'/oprs', headers=headers)
|
||||
return r
|
||||
|
||||
|
||||
|
||||
#gets TBA's insights from an event
|
||||
def req_event_insights(event_key, apikey):
|
||||
headers={'X-TBA-Auth-Key':apikey}
|
||||
|
Loading…
Reference in New Issue
Block a user