Skip to main content

tnns

tnns : object#

Operations for Tennis.

Kind: global namespace

tnns.getScoreboard(league, year, month, day) โ‡’#

Gets the scoreboard data for a specified date and league if available.

Kind: static method of tnns
Returns: json

ParamTypeDescription
leaguestringTennis league desired. Default 'atp' Acceptable values: ['atp', 'wta']
year*Year (YYYY)
month*Month (MM)
day*Day (DD)

Example

const result = await sdv.tnns.getScoreboard({league = 'wta', year = 2023, month = 06, day = 20})