Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: shotchartlineupdetail is not working #481

Open
jtvanwingen opened this issue Nov 15, 2024 · 0 comments
Open

[Bug]: shotchartlineupdetail is not working #481

jtvanwingen opened this issue Nov 15, 2024 · 0 comments
Labels
bug Something isn't working triage Researching into a possible bug

Comments

@jtvanwingen
Copy link

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())

@jtvanwingen jtvanwingen added bug Something isn't working triage Researching into a possible bug labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Researching into a possible bug
Projects
None yet
Development

No branches or pull requests

1 participant