wnba
object
#
wnba : Operations for WNBA.
Kind: global namespace
- wnba :
object
#
wnba.getPlayByPlay(id) ⇒Gets the WNBA game play-by-play data for a specified game.
Kind: static method of wnba
Returns: json
Param | Type | Description |
---|---|---|
id | number | Game id. |
Example
const result = await sdv.wnba.getPlayByPlay(401244185);
#
wnba.getBoxScore(id) ⇒Gets the WNBA game box score data for a specified game.
Kind: static method of wnba
Returns: json
Param | Type | Description |
---|---|---|
id | number | Game id. |
Example
const result = await sdv.wnba.getBoxScore(401244185);
#
wnba.getSummary(id) ⇒Gets the WNBA game summary data for a specified game.
Kind: static method of wnba
Returns: json
Param | Type | Description |
---|---|---|
id | number | Game id. |
Example
const result = await sdv.wnba.getSummary(401244185);
#
wnba.getSchedule(year, month, day) ⇒Gets the WNBA schedule data for a specified date if available.
Kind: static method of wnba
Returns: json
Param | Type | Description |
---|---|---|
year | * | Year (YYYY) |
month | * | Month (MM) |
day | * | Day (DD) |
Example
const result = await sdv.wnba.getSchedule(year = 2019, month = 07, day = 15)
#
wnba.getScoreboard(year, month, day, limit) ⇒Gets the WNBA scoreboard data for a specified date if available.
Kind: static method of wnba
Returns: json
Param | Type | Description |
---|---|---|
year | * | Year (YYYY) |
month | * | Month (MM) |
day | * | Day (DD) |
limit | number | Limit on the number of results @default 300 |
Example
const result = await sdv.wnba.getScoreboard(year = 2019, month = 07, day = 15)
#
wnba.getStandings(year, group) ⇒Gets the team standings for the WNBA.
Kind: static method of wnba
Returns: json
Param | Type | Description |
---|---|---|
year | number | Season |
group | number | acceptable group names: 'league','conference','division' |
Example
const yr = 2016;const result = await sdv.wnba.getStandings(year = yr);
#
wnba.getTeamList() ⇒Gets the list of all WNBA teams their identification info for ESPN.
Kind: static method of wnba
Returns: json
Example
const result = await sdv.wnba.getTeamList();
#
wnba.getTeamInfo(id) ⇒Gets the team info for a specific WNBA team.
Kind: static method of wnba
Returns: json
Param | Type | Description |
---|---|---|
id | number | Team Id |
Example
const teamId = 16;const result = await sdv.wnba.getTeamInfo(teamId);
#
wnba.getTeamPlayers(id) ⇒Gets the team roster information for a specific WNBA team.
Kind: static method of wnba
Returns: json
Param | Type | Description |
---|---|---|
id | number | Team Id |
Example
const teamId = 16;const result = await sdv.wnba.getTeamPlayers(teamId);