From 9d834a64a6f1ee96381aa33fa6eb442d21541c85 Mon Sep 17 00:00:00 2001 From: art Date: Thu, 20 Feb 2020 19:22:06 -0600 Subject: [PATCH] a --- data analysis/tba_match_result_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data analysis/tba_match_result_request.py b/data analysis/tba_match_result_request.py index 4afc836f..7792ecb2 100644 --- a/data analysis/tba_match_result_request.py +++ b/data analysis/tba_match_result_request.py @@ -3,7 +3,7 @@ def req_event_matches(eventkey,apikey): headers={'X-TBA-Auth-Key':apikey} r=requests.get('https://www.thebluealliance.com/api/v3/event/'+eventkey+'/matches/simple', headers=headers) return r -def sort_through_request(request): +def get_match_data(request): if request.status_code == 200: x=[] for i in sorted(request.json(), key=lambda i: i['actual_time']):