bttmly / nba

Node.js client for nba.com API endpoints

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`data` endpoint: Add box score and play-by-play

garyking opened this issue · comments

commented

Thanks for adding the data.scoreboard method. Please also add these data endpoints too:

  • Box score
    • Format: /data/5s/json/cms/noseason/game/{DATE}/{GAME_ID}/boxscore.json
  • Play by play
    • Format: /data/5s/json/cms/noseason/game/{DATE}/{GAME_ID}/pbp_all.json

The DATEs are in YYYYMMDD format. The GAME_IDs are from the data.scoreboard endpoint.

published in nba@4.5.0 as nba.data.boxScore(date, gameId) and nba.data.playByPlay(date, gameId)

Keep 'em coming if you find more!