/** * Operations for Men's College Basketball. * * > **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_mbb_*` wrappers (e.g. * > `sdv.mbb.espn_mbb_scoreboard()`), which cover far more ESPN * > endpoints and share one maintained codegen pipeline. * * @namespace mbb */ declare const _default: { /** * Gets the Men's College Basketball game play-by-play data for a specified game. * @memberOf mbb * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.mbb.getPlayByPlay(401260281); */ getPlayByPlay: (id: any) => Promise<{ teams: any; id: any; plays: any; competitions: any; season: any; boxScore: any; }>; /** * Gets the Men's College Basketball game box score data for a specified game. * @memberOf mbb * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.mbb.getBoxScore(401260281); */ getBoxScore: (id: any) => Promise; /** * Gets the Men's College Basketball game summary data for a specified game. * @memberOf mbb * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.mbb.getSummary(401260281); */ getSummary: (id: any) => Promise<{ boxScore: any; gameInfo: any; leaders: any; winProbability: any; header: any; plays: any; standings: any; }>; /** * Gets the Men's College Basketball game PickCenter data for a specified game. * @memberOf mbb * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.mbb.getPicks(401260281); */ getPicks: (id: any) => Promise<{ id: number; gameInfo: any; leaders: any; header: any; teams: any; competitions: any; winProbability: any; pickcenter: any; againstTheSpread: any; odds: any; season: any; standings: any; }>; /** * Gets the Men's College Basketball Player recruiting data for a specified year, page, position and institution type if available. * @deprecated Superseded by the generated 247Sports recruiting family on the * standalone `recruiting` namespace — `sdv.recruiting.sports247_rankings(...)` * / `sports247_player_sport_rankings(...)` (api.247sports.com RDB JSON API). * This legacy method scrapes 247sports.com HTML and is kept for back-compat. * @memberOf mbb * @async * @function * @param {*} year - Year (YYYY) * @param {number} page - Page (50 per page) * @param {"HighSchool"|"JuniorCollege"|"PrepSchool"} group - Institution Type * @returns json * @example * const result = await sdv.mbb.getPlayerRankings({year: 2016}); */ getPlayerRankings: ({ year, page, group, position, state }: { year: any; page?: number; group?: string; position?: any; state?: any; }) => Promise; /** * Gets the Men's College Basketball School recruiting data for a specified year, page, position and institution type if available. * @deprecated Superseded by the generated 247Sports recruiting family — * `sdv.recruiting.sports247_institution_rankings(...)` / * `sports247_rankings_composite_team_feed(...)` (api.247sports.com RDB JSON * API). This legacy method scrapes 247sports.com HTML; kept for back-compat. * @memberOf mbb * @async * @function * @param {*} year - Year (YYYY) * @param {number} page - Page (50 per page) * @returns json * @example * const result = await sdv.mbb.getSchoolRankings({year: 2016}); */ getSchoolRankings: (year: any, page?: number) => Promise; /** * Gets the Men's College Basketball School commitment data for a specified school and year. * @deprecated Superseded by the generated 247Sports recruiting family — * `sdv.recruiting.sports247_recruits(...)` / `sports247_transfers(...)` * (api.247sports.com RDB JSON API). This legacy method scrapes * 247sports.com HTML and is kept for back-compat only. * @memberOf mbb * @async * @function * @param {*} year - Year (YYYY) * @param {string} school - School * @returns json * @example * const result = await sdv.mbb.getSchoolCommits({school: 'Clemson', year: 2016}); */ getSchoolCommits: (school: any, year: any) => Promise; /** * Gets the Men's College Basketball schedule data for a specified date if available. * @memberOf mbb * @async * @function * @param {*} year - Year (YYYY) * @param {*} month - Month (MM) * @param {*} day - Day (DD) * @param {number} group - Group is 50 for Division-I, 51 for Division-II, 52 for Division-III * @param {number} seasontype - Pre-Season: 1, Regular Season: 2, Postseason: 3, Off-season: 4 * @returns json * @example * const result = await sdv.mbb.getSchedule( * year = 2021, month = 02, day = 15, group=50 * ) */ getSchedule: ({ year, month, day, group, seasontype }: { year?: any; month?: any; day?: any; group?: number; seasontype?: number; }) => Promise; /** * Gets the Men's College Basketball scoreboard data for a specified date if available. * @memberOf mbb * @async * @function * @param {*} year - Year (YYYY) * @param {*} month - Month (MM) * @param {*} day - Day (DD) * @param {number} group - Group is 50 for Division-I, 51 for Division-II, 52 for Division-III * @param {number} seasontype - Pre-Season: 1, Regular Season: 2, Postseason: 3, Off-season: 4 * @param {number} limit - Limit on the number of results @default 300 * @returns json * @example * const result = await sdv.mbb.getScoreboard( * year = 2021, month = 02, day = 15, group=50 * ) */ getScoreboard: ({ year, month, day, group, seasontype, limit }: { year: any; month: any; day: any; group?: number; seasontype?: number; limit?: number; }) => Promise; /** * Gets the Men's College Basketball Conferences. * @memberOf mbb * @async * @function * @param {number} year - Season * @param {number} group - Group is 50 for Division-I, 51 for Division-II, 52 for Division-III * @returns json * @example * const yr = 2021; * const result = await sdv.mbb.getConferences(year = yr, group = 50); */ getConferences: ({ year, group }: { year?: number; group?: number; }) => Promise; /** * Gets the team standings for Men's College Basketball. * @memberOf mbb * @async * @function * @param {number} year - Season * @param {number} group - Group is 50 for Division-I, 51 for Division-II, 52 for Division-III, see wbb.getConferences() for more info * @returns json * @example * const yr = 2020; * const result = await sdv.mbb.getStandings(year = yr); */ getStandings: ({ year, group }: { year?: number; group?: number; }) => Promise; /** * Gets the list of all College Football teams their identification info for ESPN. * @memberOf mbb * @async * @function * @param {number} group - Group is 50 for Division-I, 51 for Division-II, 52 for Division-III * @returns json * @example * const result = await sdv.mbb.getTeamList(group=50); */ getTeamList: ({ group }: { group?: number; }) => Promise; /** * Gets the team info for a specific College Basketball team. * @memberOf mbb * @async * @function * @param {number} id - Team Id * @returns json * @example * const teamId = 52; * const result = await sdv.mbb.getTeamInfo(teamId); */ getTeamInfo: (id: any) => Promise; /** * Gets the team roster information for a specific Men's College Basketball team. * @memberOf mbb * @async * @function * @param {number} id - Team Id * @returns json * @example * const teamId = 52; * const result = await sdv.mbb.getTeamPlayers(teamId); */ getTeamPlayers: (id: any) => Promise; }; export default _default; //# sourceMappingURL=mbb.service.d.ts.map