Live box score data
jcostello93 opened this issue · 4 comments
I noticed that the scoreboard endpoint is updated while games are being played, but the two box score endpoints (boxScore and boxScoreSummary) aren't. Do you know any other way to get live box score data using this module?
Found the endpoint:
https://data.nba.net/prod/v1/20190421/0041800134_boxscore.json
Is that endpoint supported by the library already? If not, pull requests welcome
NBA.data.boxScore calls a different endpoint with a slightly different response format, but it also returns live box score data.
NBA.data.playByPlay also returns live data while NBA.stats.boxScore and NBA.stats.playByPlay do not.
edit: should have added that NBA = require("nba") in the above calls
As far as I can tell, they are trying to move their endpoints to the /data
namespace so if there is duplicated functionality between NBA.stats
and NBA.data
, use data