seemethere / nba_py

Python client for NBA statistics located at stats.nba.com
BSD 3-Clause "New" or "Revised" License
1.05k stars 255 forks source link

Get Player Position on court #130

Open mcclochette opened 5 years ago

mcclochette commented 5 years ago

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)

huangzhenyu commented 5 years ago

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.

bttmly commented 5 years ago

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