You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jtvanwingen - The NBA has been retiring several endpoints. This appears to be one of those. I have it on my backlog to do some testing in this area. This isn't the first, second, or even the fifth one I've seen. 😢
NBA API Version
1.5.0
Issue
Continuously getting KeyError: 'resultSet' when I try and pull the data
Code
from nba_api.stats.endpoints import shotchartlineupdetail
import json
shot_chart = shotchartlineupdetail.ShotChartLineupDetail(
season = 2018-19
)
Get the shot chart data as a pandas dataframe
shot_chart_data = shot_chart.get_data_frames()[0]
Print the shot chart data
print(shot_chart_data.head())
The text was updated successfully, but these errors were encountered: