Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: all-time leaders #3

Open
tbradsha opened this issue May 30, 2018 · 2 comments
Open

Request: all-time leaders #3

tbradsha opened this issue May 30, 2018 · 2 comments

Comments

@tbradsha
Copy link

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).

@jasonroman
Copy link
Owner

Cool thanks for pointing it out. I'll add it - or if you'd like to submit a PR for it that works too.

@tbradsha
Copy link
Author

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 :^)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants