Shots

Shots

The Shots class has some basic properties for handling shot data

class pbpstats.resources.shots.shots.Shots(items)[source]

Bases: pbpstats.resources.base.Base

Class for games items

Parameters:items (list) – list of StatsNbaShot items, typically from a shots data loader
data

returns list of dicts with shots

stats.nba.com Shot

class pbpstats.resources.shots.stats_nba_shot.StatsNbaShot(item)[source]

Bases: object

Class for shot data from stats.nba.com

Parameters:item (dict) – dict with shot data
data

returns shot data dict