/nba-shot-charts

NBA Shot Charts

Primary LanguagePython

NBA Shot Charts

Packages needed

  • requests
  • matplotlib (and associated libraries)
  • pandas
  • seaborn (if you want more customizable charts)
  • goldsberry (pip install goldsberry)

Usage

To use, run

python shot_chart_generator.py [player name] [season]

Example: python shot_chart_generator.py Stephen Curry 2013-14

The player name has to be the first name and last name seperated by a space, and the season has to be in the form:

first year [dash] last two digits of second year