Update tbarequest.py

This commit is contained in:
jlevine18 2019-03-22 15:09:52 -05:00 committed by GitHub
parent c6195a8836
commit b798214367

View File

@ -71,7 +71,7 @@ def req_event_elim_alli(event_key, apikey):
#requests oprs and dprs #requests oprs and dprs
def req_event_opr(event_key, apikey): def req_event_opr(event_key, apikey):
headers={'X-TBA-Auth-Key':apikey} headers={'X-TBA-Auth-Key':apikey}
r=requests.get('https://www.thebluealliance.com/api/v3//event/'+str(event_key)+'/oprs', headers=headers) r=requests.get('https://www.thebluealliance.com/api/v3/event/'+str(event_key)+'/oprs', headers=headers)
return r return r