nba-api
nba-api copied to clipboard
Request: all-time leaders
It doesn't look like an all-time leaders request is included in the API. If you'd like to include it, here is an example:
https://stats.nba.com/stats/alltimeleadersgrids?LeagueID=00&PerMode=Totals&SeasonType=Regular+Season&TopX=10
This returns the top leaders in several available stats in one request for a given league, mode, and season type. This is different than LeagueLeaders, as it just returns the top X of a given stat (note that the actual LeagueLeaders endpoint has more options, but they aren't all implemented).
Cool thanks for pointing it out. I'll add it - or if you'd like to submit a PR for it that works too.
I'm more of a scripter than a programmer, and just noticed your API in passing (great work, but overkill for my narrow needs), so I'll let you play with that on your own time :^)