/** * Operations for WNBA. * * > **Superseded:** these hand-written `get*` methods predate the generated * > cross-league ESPN surface. They remain supported for back-compat, but new * > code should prefer the generated `espn_wnba_*` wrappers (e.g. * > `sdv.wnba.espn_wnba_scoreboard()`), which cover far more ESPN * > endpoints and share one maintained codegen pipeline. * * @namespace wnba */ declare const _default: { /** * Gets the WNBA game play-by-play data for a specified game. * @memberOf wnba * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.wnba.getPlayByPlay(401244185); */ getPlayByPlay: (id: any) => Promise<{ teams: any; id: any; plays: any; competitions: any; season: any; boxScore: any; seasonSeries: any; standings: any; }>; /** * Gets the WNBA game box score data for a specified game. * @memberOf wnba * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.wnba.getBoxScore(401244185); */ getBoxScore: (id: any) => Promise; /** * Gets the WNBA game summary data for a specified game. * @memberOf wnba * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.wnba.getSummary(401244185); */ getSummary: (id: any) => Promise<{ boxScore: any; gameInfo: any; header: any; teams: any; id: any; plays: any; winProbability: any; leaders: any; competitions: any; season: any; seasonSeries: any; standings: any; }>; /** * Gets the WNBA schedule data for a specified date if available. * @memberOf wnba * @async * @function * @param {*} year - Year (YYYY) * @param {*} month - Month (MM) * @param {*} day - Day (DD) * @returns json * @example * const result = await sdv.wnba.getSchedule( * year = 2019, month = 07, day = 15 * ) */ getSchedule: ({ year, month, day }: { year?: any; month?: any; day?: any; }) => Promise; /** * Gets the WNBA scoreboard data for a specified date if available. * @memberOf wnba * @async * @function * @param {*} year - Year (YYYY) * @param {*} month - Month (MM) * @param {*} day - Day (DD) * @param {number} limit - Limit on the number of results @default 300 * @returns json * @example * const result = await sdv.wnba.getScoreboard( * year = 2019, month = 07, day = 15 * ) */ getScoreboard: ({ year, month, day, limit }: { year: any; month: any; day: any; limit?: number; }) => Promise; /** * Gets the team standings for the WNBA. * @memberOf wnba * @async * @function * @param {number} year - Season * @param {string} group - acceptable group names: 'league','conference' * @returns json * @example * const yr = 2016; * const result = await sdv.wnba.getStandings(year = yr); */ getStandings: ({ year, group }: { year?: number; group?: string; }) => Promise; /** * Gets the list of all WNBA teams their identification info for ESPN. * @memberOf wnba * @async * @function * @returns json * @example * const result = await sdv.wnba.getTeamList(); */ getTeamList: ({}: {}) => Promise; /** * Gets the team info for a specific WNBA team. * @memberOf wnba * @async * @function * @param {number} id - Team Id * @returns json * @example * const teamId = 16; * const result = await sdv.wnba.getTeamInfo(teamId); */ getTeamInfo: (id: any) => Promise; /** * Gets the team roster information for a specific WNBA team. * @memberOf wnba * @async * @function * @param {number} id - Team Id * @returns json * @example * const teamId = 16; * const result = await sdv.wnba.getTeamPlayers(teamId); */ getTeamPlayers: (id: any) => Promise; }; export default _default; //# sourceMappingURL=wnba.service.d.ts.map