This repository has been archived by the owner on Jun 12, 2021. It is now read-only.
Releases: kshvmdn/nba.js
Releases · kshvmdn/nba.js
v0.3.2
Breaking changes
- Deprecate
nba.data.currentScoreboard
(endpoint seems to always return[]
). Usenba.data.scoreboard
with today's date (you can use(new Date).toISOString().slice(0, 10)
or any third party library to generate this value) for the current scoreboard. - Update
nba.data
method parameter names (see 88c7d76)gameDate
->date
seasonScheduleYear
->year
teamUrlCode
->teamName
periodNum
->period
v0.3.0
Add data
submodule with data.nba.net endpoints.
Initial release
Full package release (minus documentation, very much in the works however). Features support for 47 endpoints.
Supported endpoints:
/stats/commonallplayers
/stats/assisttracker
/stats/defensehub
/stats/draftcombinestats
/stats/drafthistory
/stats/franchisehistory
/stats/franchiseleaders
/stats/homepagev2
/stats/leaguegamelog
/stats/leagueleaders
/stats/leaguedashlineups
/stats/playerawards
/stats/leaguedashplayerbiostats
/stats/leaguedashplayerclutch
/stats/playercareerstats
/stats/playercompare
/stats/leaguedashptdefend
/stats/playergamelog
/stats/leaguedashplayerstats
/stats/leaguehustlestatsplayer
/stats/leaguehustlestatsplayerleaders
/stats/commonplayerinfo
/stats/leagueplayerondetails
/stats/playerprofilev2
/stats/leaguedashplayershotlocations
/stats/leaguedashplayerptshot
/stats/scoreboardV2
/stats/leaguedashteamclutch
/stats/leaguedashptteamdefend
/stats/teamdetails
/stats/teaminfocommon
/stats/teamgamelog
/stats/leaguedashteamstats
/stats/leaguehustlestatsteam
stats/leaguehustlestatsteamleaders
/stats/teamdashlineups
/stats/teamplayeronoffdetails
/stats/teamdashptpass
/stats/teamplayerdashboard
/stats/teamdashptreb
/stats/commonteamroster
/stats/leaguedashteamshotlocations
/stats/leaguedashteamptshot
/stats/teamdashptshots
/stats/teamdashboardbygeneralsplits
/stats/teamyearbyyearstats
/stats/leaguedashptstats
Feel free to open an issue for any missing endpoints.
Preliminary release
Command line functionality:
- Access list of scores for provided date (defaults to today, accepts keywords
today
,tomorrow
,yesterday
- Access standings for current season