Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Curious where the endpoint docs game from? #18

Closed
bttmly opened this issue Feb 25, 2016 · 1 comment
Closed

Curious where the endpoint docs game from? #18

bttmly opened this issue Feb 25, 2016 · 1 comment

Comments

@bttmly
Copy link

bttmly commented Feb 25, 2016

This is fantastic https://github.com/seemethere/nba_py/wiki/stats.nba.com-Endpoint-Documentation

I'm developing an equivalent node package https://github.com/nickb1080/nba and I'm curious how you found the acceptable parameters for each endpoint. Given the highly dynamic nature of both Python and JavaScript, it would be a cool idea to put these endpoint docs in a simple machine-readable format (JSON?) and generate the API client and some documentation from it programmatically. This would really lower the barrier to developing NBA API clients in other languages, as well as decrease the ongoing cost of providing documentation. I may take a stab at that sometime soon, do you have any interest in taking a similar approach for this package? Thanks for the hard work!

@bttmly
Copy link
Author

bttmly commented Feb 26, 2016

Something like this script, for example, could parse the markdown file into JSON https://gist.github.com/nickb1080/605c487ae72781ed17a6

@bttmly bttmly closed this as completed Jul 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant