fixed incorrect input on line 44
Browse files
nba_tracking_data_15_16.py
CHANGED
@@ -39,12 +39,12 @@ By merging all .7z files into one large .json file, access is easier to retrieve
|
|
39 |
"""
|
40 |
|
41 |
_HOMEPAGE = "https://github.com/linouk23/NBA-Player-Movements/tree/master/"
|
|
|
42 |
|
43 |
-
res = requests.get(
|
44 |
|
45 |
items = res.json()['payload']['tree']['items']
|
46 |
|
47 |
-
_URL = "https://github.com/linouk23/NBA-Player-Movements/raw/master/data/2016.NBA.Raw.SportVU.Game.Logs"
|
48 |
_URLS = {}
|
49 |
for game in items:
|
50 |
name = game['name'][:-3]
|
|
|
39 |
"""
|
40 |
|
41 |
_HOMEPAGE = "https://github.com/linouk23/NBA-Player-Movements/tree/master/"
|
42 |
+
_URL = "https://github.com/linouk23/NBA-Player-Movements/raw/master/data/2016.NBA.Raw.SportVU.Game.Logs"
|
43 |
|
44 |
+
res = requests.get(_URL)
|
45 |
|
46 |
items = res.json()['payload']['tree']['items']
|
47 |
|
|
|
48 |
_URLS = {}
|
49 |
for game in items:
|
50 |
name = game['name'][:-3]
|