/** * Operations for College Football. * * > **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_cfb_*` wrappers (e.g. * > `sdv.cfb.espn_cfb_scoreboard()`), which cover far more ESPN * > endpoints and share one maintained codegen pipeline. * * @namespace cfb */ declare const _default: { /** * Gets the College Football game play-by-play data for a specified game. * @memberOf cfb * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.cfb.getPlayByPlay(401256194); */ getPlayByPlay: (id: any) => Promise<{ teams: any; id: any; drives: any; competitions: any; season: any; week: any; boxScore: any; scoringPlays: any; standings: any; }>; /** * Gets the College Football game box score data for a specified game. * @memberOf cfb * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.cfb.getBoxScore(401256194); */ getBoxScore: (id: any) => Promise; /** * Gets the College Football game summary data for a specified game. * @memberOf cfb * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.cfb.getSummary(401256194); */ getSummary: (id: any) => Promise<{ id: number; boxScore: any; gameInfo: any; drives: any; leaders: any; header: any; teams: any; scoringPlays: any; winProbability: any; competitions: any; season: any; week: any; standings: any; }>; /** * Gets the College Football PickCenter data for a specified game. * @memberOf cfb * @async * @function * @param {number} id - Game id. * @returns json * @example * const result = await sdv.cfb.getPicks(401256194); */ 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; week: any; standings: any; }>; /** * Gets the College Football Player recruiting data for a specified year, page, position, state 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 cfb * @async * @function * @param {*} year - Year (YYYY) * @param {number} page - Page (50 per page) * @param {"HighSchool"|"JuniorCollege"|"PrepSchool"} group - Institution Type * @param {"Composite"|"247"} rankingsType - Ranking Type * @param {string} state - State of recruit * @returns json * @example * const result = await sdv.cfb.getPlayerRankings({year: 2016}); */ getPlayerRankings: ({ year, page, group, position, state, rankingsType }: { year: any; page?: number; group?: string; position?: any; state?: any; rankingsType?: string; }) => Promise; /** * Gets the College Football School recruiting data for a specified year and page 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 cfb * @async * @function * @param {*} year - Year (YYYY) * @param {number} page - Page (50 per page) * @returns json * @example * const result = await sdv.cfb.getSchoolRankings({year: 2016}); */ getSchoolRankings: (year: any, page?: number) => Promise; /** * Gets the College Football 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 cfb * @async * @function * @param {*} year - Year (YYYY) * @param {string} school - School * @returns json * @example * const result = await sdv.cfb.getSchoolCommits({school: 'Florida State', year: 2021}); */ getSchoolCommits: (school: any, year: any) => Promise; /** * Gets the CFB rankings data for a specified year and week if available. * @memberOf cfb * @async * @function * @param {*} year - Year (YYYY) * @param {*} week - Week * @returns json * @example * const result = await sdv.cfb.getRankings(year = 2020, week = 4) */ getRankings: ({ year, week }: { year: any; week: any; }) => Promise; /** * Gets the College Football schedule data for a specified date if available. * @memberOf cfb * @async * @function * @param {*} year - Year (YYYY) * @param {*} month - Month (MM) * @param {*} day - Day (DD) * @param {number} group - Group is 80 for FBS, 81 for FCS * @param {number} seasontype - Pre-Season: 1, Regular Season: 2, Postseason: 3, Off-season: 4 * @returns json * @example * const result = await sdv.cfb.getSchedule(year = 2019, month = 11, day = 16, group=80) */ getSchedule: ({ year, month, day, groups, seasontype }: { year: any; month: any; day: any; groups?: number; seasontype?: number; }) => Promise; /** * Gets the College Football scoreboard data for a specified date if available. * @memberOf cfb * @async * @function * @param {*} year - Year (YYYY) * @param {*} month - Month (MM) * @param {*} day - Day (DD) * @param {number} group - Group is 80 for FBS, 81 for FCS * @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.cfb.getScoreboard( * year = 2019, month = 11, day = 16, group=80 * ) */ getScoreboard: ({ year, month, day, groups, seasontype, limit }: { year: any; month: any; day: any; groups?: number; seasontype?: number; limit?: number; }) => Promise; /** * Gets the list of all College Football conferences and their identification info for ESPN. * @memberOf cfb * @async * @function * @param {number} year - Season * @param {number} group - Group is 80 for FBS, 81 for FCS * @returns json * @example * const yr = 2021; * const result = await sdv.cfb.getConferences(year = yr, group = 80); */ getConferences: ({ year, group }: { year?: number; group?: number; }) => Promise; /** * Gets the team standings for College Football. * @memberOf cfb * @async * @function * @param {number} year - Season * @param {number} group - Group is 80 for FBS, 81 for FCS * @returns json * @example * const yr = 2020; * const result = await sdv.cfb.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 cfb * @async * @function * @param {number} group - Group is 80 for FBS, 81 for FCS * @returns json * @example * const result = await sdv.cfb.getTeamList(group=80); */ getTeamList: ({ group }: { group?: number; }) => Promise; /** * Gets the team info for a specific College Football team. * @memberOf cfb * @async * @function * @param {number} id - Team Id * @returns json * @example * const teamId = 52; * const result = await sdv.cfb.getTeamInfo(teamId); */ getTeamInfo: (id: any) => Promise; /** * Gets the team roster information for a specific College Football team. * @memberOf cfb * @async * @function * @param {number} id - Team Id * @example * const teamId = 52; * const result = await sdv.cfb.getTeamPlayers(teamId); */ getTeamPlayers: (id: any) => Promise; }; export default _default; //# sourceMappingURL=cfb.service.d.ts.map