tennis
object
#
tennis : Operations for Tennis.
Kind: global namespace
#
tennis.getScoreboard(league, year, month, day) โGets the scoreboard data for a specified date and league if available.
Kind: static method of tennis
Returns: json
Param | Type | Description |
---|---|---|
league | string | Tennis league desired. Default 'atp' Acceptable values: ['atp', 'wta'] |
year | * | Year (YYYY) |
month | * | Month (MM) |
day | * | Day (DD) |
Example
const result = await sdv.tennis.getScoreboard({league = 'wta', year = 2023, month = 06, day = 20})