nba_py icon indicating copy to clipboard operation
nba_py copied to clipboard

Get Player Position on court

Open mcclochette opened this issue 5 years ago • 2 comments

I would like to know if there is a way to get a player and his position (PG, SG, SF, PF, C). I know that the nba is going positionless sometimes, but it would be cool to associate a player to one or 2 positions.

For example, Kevin Durant could be a 3 (SF) or 4 (PF), but I would consider Steph Curry only a 1 (PG)

mcclochette avatar Nov 12 '18 03:11 mcclochette

Maybe on NBAdotcom there is no position information at all while ESPN or BBR have. So what I do is to get the postion information table from BBR or ESPN , then merge them together.

huangzhenyu avatar Dec 04 '18 15:12 huangzhenyu

a few years back the NBA provided a movement API but removed it shortly after this article came out http://savvastjortjoglou.com/nba-play-by-play-movements.html

bttmly avatar Dec 04 '18 18:12 bttmly