seemethere / nba_py

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

All players not present? #58

Closed martendt closed 7 years ago

martendt commented 7 years ago

Hello,

I'm trying to do a simple pull. Looking at a histogram of all player's points totals from past seasons. However, if I try to pull all player ID's from a past season:

pid_list = player.PlayerList(league_id=League.NBA,season='2010-11').info()['PERSON_ID']

For 2010-11, for instance, I only get a list of ~70 players. Shouldn't there be more like 400?

seemethere commented 7 years ago

Set only_current to 0