Update tbarequest.py

This commit is contained in:
jlevine18 2019-03-22 15:09:52 -05:00 committed by GitHub
parent 14a0414265
commit 56f704c464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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