Closed jcostello93 closed 5 years ago
This pull request adds the schedule endpoint in src/data.js.
This function takes a single argument -- season. This is the first year of the NBA season (e.g. "2018" for the 2018-19 NBA season).
Example call:
var NBA = require("nba"); NBA.data.schedule("2018").then(response => { console.log(response); })
Thanks! PRs always welcome if you find more /data endpoints!
Published to npm as nba@4.7.0
nba@4.7.0
This pull request adds the schedule endpoint in src/data.js.
This function takes a single argument -- season. This is the first year of the NBA season (e.g. "2018" for the 2018-19 NBA season).
Example call: