cfb

cfb

Source:

Operations for College Football.

Methods

(async, static) getBoxScore(id)

Source:

Gets the College Football game box score data for a specified game.

Example
const result = await sdv.cfb.getBoxScore(401256194);
Parameters:
Name Type Description
id number

Game id.

Returns:

json

(async, static) getConferences()

Source:

Gets the list of all College Football conferences and their identification info for ESPN.

Example
get list of teams
const result = await sdv.cfb.getConferences();
Returns:

json

(async, static) getPicks(id)

Source:

Gets the College Football PickCenter data for a specified game.

Example
const result = await sdv.cfb.getPicks(401256194);
Parameters:
Name Type Description
id number

Game id.

Returns:

json

(async, static) getPlayByPlay(id)

Source:

Gets the College Football game play-by-play data for a specified game.

Example
const result = await sdv.cfb.getPlayByPlay(401256194);
Parameters:
Name Type Description
id number

Game id.

Returns:

json

(async, static) getPlayerRankings(year, page, group, state)

Source:

Gets the College Football Player recruiting data for a specified year, page, position, state and institution type if available.

Example
const result = await sdv.cfb.getPlayerRankings({year: 2016});
Parameters:
Name Type Description
year *

Year (YYYY)

page number

Page (50 per page)

group "HighSchool" | "JuniorCollege" | "PrepSchool"

Institution Type

state string

State of recruit

Returns:

json

(async, static) getRankings(year, week)

Source:

Gets the CFB rankings data for a specified year and week if available.

Example
const result = await sdv.cfb.getRankings(year = 2020, week = 4)
Parameters:
Name Type Description
year *

Year (YYYY)

week *

Week

Returns:

json

(async, static) getSchedule(year, month, day, group, seasontype)

Source:

Gets the College Football schedule data for a specified date if available.

Example
const result = await sdv.cfb.getSchedule(year = 2019, month = 11, day = 16, group=80)
Parameters:
Name Type Description
year *

Year (YYYY)

month *

Month (MM)

day *

Day (DD)

group number

Group is 80 for FBS, 81 for FCS

seasontype number

Pre-Season: 1, Regular Season: 2, Postseason: 3, Off-season: 4

Returns:

json

(async, static) getSchoolCommits(year, school)

Source:

Gets the College Football School commitment data for a specified school and year.

Example
const result = await sdv.cfb.getSchoolCommits({school: 'Florida State', year: 2021});
Parameters:
Name Type Description
year *

Year (YYYY)

school string

School

Returns:

json

(async, static) getSchoolRankings(year, page)

Source:

Gets the College Football School recruiting data for a specified year and page if available.

Example
const result = await sdv.cfb.getSchoolRankings({year: 2016});
Parameters:
Name Type Description
year *

Year (YYYY)

page number

Page (50 per page)

Returns:

json

(async, static) getScoreboard(year, month, day, group, seasontype, limit)

Source:

Gets the College Football scoreboard data for a specified date if available.

Example
const result = await sdv.cfb.getScoreboard(
year = 2019, month = 11, day = 16, group=80
)
Parameters:
Name Type Description
year *

Year (YYYY)

month *

Month (MM)

day *

Day (DD)

group number

Group is 80 for FBS, 81 for FCS

seasontype number

Pre-Season: 1, Regular Season: 2, Postseason: 3, Off-season: 4

limit number

Limit on the number of results @default 300

Returns:

json

(async, static) getStandings(year, group)

Source:

Gets the team standings for College Football.

Example
get cfb standings
const yr = 2016;
const result = await sdv.cfb.getStandings(year = yr);
Parameters:
Name Type Description
year number

Season

group number

Group is 80 for FBS, 81 for FCS

Returns:

json

(async, static) getSummary(id)

Source:

Gets the College Football game summary data for a specified game.

Example
const result = await sdv.cfb.getSummary(401256194);
Parameters:
Name Type Description
id number

Game id.

Returns:

json

(async, static) getTeamInfo(id)

Source:

Gets the team info for a specific College Football team.

Example
get individual team data
const teamId = 52;
const result = await sdv.cfb.getTeamInfo(teamId);
Parameters:
Name Type Description
id number

Team Id

Returns:

json

(async, static) getTeamList(group)

Source:

Gets the list of all College Football teams their identification info for ESPN.

Example
get list of teams
const result = await sdv.cfb.getTeamList(group=80);
Parameters:
Name Type Description
group number

Group is 80 for FBS, 81 for FCS

Returns:

json

(async, static) getTeamPlayers(id)

Source:

Gets the team roster information for a specific College Football team.

Example
get team roster data
const teamId = 52;
const result = await sdv.cfb.getTeamPlayers(teamId);
Parameters:
Name Type Description
id number

Team Id