cfb
object
#
cfb : Operations for College Football.
Kind: global namespace
- cfb :
object
- .getPlayByPlay(id) โ
- .getBoxScore(id) โ
- .getSummary(id) โ
- .getPicks(id) โ
- .getPlayerRankings(year, page, group, state) โ
- .getSchoolRankings(year, page) โ
- .getSchoolCommits(year, school) โ
- .getRankings(year, week) โ
- .getSchedule(year, month, day, group, seasontype) โ
- .getScoreboard(year, month, day, group, seasontype, limit) โ
- .getConferences(year, group) โ
- .getStandings(year, group) โ
- .getTeamList(group) โ
- .getTeamInfo(id) โ
- .getTeamPlayers(id)
#
cfb.getPlayByPlay(id) โGets the College Football game play-by-play data for a specified game.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
id | number | Game id. |
Example
const result = await sdv.cfb.getPlayByPlay(401256194);
#
cfb.getBoxScore(id) โGets the College Football game box score data for a specified game.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
id | number | Game id. |
Example
const result = await sdv.cfb.getBoxScore(401256194);
#
cfb.getSummary(id) โGets the College Football game summary data for a specified game.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
id | number | Game id. |
Example
const result = await sdv.cfb.getSummary(401256194);
#
cfb.getPicks(id) โGets the College Football PickCenter data for a specified game.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
id | number | Game id. |
Example
const result = await sdv.cfb.getPicks(401256194);
#
cfb.getPlayerRankings(year, page, group, state) โGets the College Football Player recruiting data for a specified year, page, position, state and institution type if available.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
year | * | Year (YYYY) |
page | number | Page (50 per page) |
group | "HighSchool" | "JuniorCollege" | "PrepSchool" | Institution Type |
state | string | State of recruit |
Example
const result = await sdv.cfb.getPlayerRankings({year: 2016});
#
cfb.getSchoolRankings(year, page) โGets the College Football School recruiting data for a specified year and page if available.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
year | * | Year (YYYY) |
page | number | Page (50 per page) |
Example
const result = await sdv.cfb.getSchoolRankings({year: 2016});
#
cfb.getSchoolCommits(year, school) โGets the College Football School commitment data for a specified school and year.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
year | * | Year (YYYY) |
school | string | School |
Example
const result = await sdv.cfb.getSchoolCommits({school: 'Florida State', year: 2021});
#
cfb.getRankings(year, week) โGets the CFB rankings data for a specified year and week if available.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
year | * | Year (YYYY) |
week | * | Week |
Example
const result = await sdv.cfb.getRankings(year = 2020, week = 4)
#
cfb.getSchedule(year, month, day, group, seasontype) โGets the College Football schedule data for a specified date if available.
Kind: static method of cfb
Returns: json
Param | 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 |
Example
const result = await sdv.cfb.getSchedule(year = 2019, month = 11, day = 16, group=80)
#
cfb.getScoreboard(year, month, day, group, seasontype, limit) โGets the College Football scoreboard data for a specified date if available.
Kind: static method of cfb
Returns: json
Param | 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 |
Example
const result = await sdv.cfb.getScoreboard(year = 2019, month = 11, day = 16, group=80)
#
cfb.getConferences(year, group) โGets the list of all College Football conferences and their identification info for ESPN.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
year | number | Season |
group | number | Group is 80 for FBS, 81 for FCS |
Example
const yr = 2021;const result = await sdv.cfb.getConferences(year = yr, group = 80);
#
cfb.getStandings(year, group) โGets the team standings for College Football.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
year | number | Season |
group | number | Group is 80 for FBS, 81 for FCS |
Example
const yr = 2020;const result = await sdv.cfb.getStandings(year = yr);
#
cfb.getTeamList(group) โGets the list of all College Football teams their identification info for ESPN.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
group | number | Group is 80 for FBS, 81 for FCS |
Example
const result = await sdv.cfb.getTeamList(group=80);
#
cfb.getTeamInfo(id) โGets the team info for a specific College Football team.
Kind: static method of cfb
Returns: json
Param | Type | Description |
---|---|---|
id | number | Team Id |
Example
const teamId = 52;const result = await sdv.cfb.getTeamInfo(teamId);
#
cfb.getTeamPlayers(id)Gets the team roster information for a specific College Football team.
Kind: static method of cfb
Param | Type | Description |
---|---|---|
id | number | Team Id |
Example
const teamId = 52;const result = await sdv.cfb.getTeamPlayers(teamId);