cbb

cbb

Source:

Operations for Men's College Basketball.

Methods

(async, static) getBoxScore(id)

Source:

Gets the Men's College Basketball game box score data for a specified game.

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

Game id.

Returns:

json

(async, static) getConferences()

Source:

Gets the Men's College Basketball Conferences.

Example
const result = await sdv.cbb.getConferences();
Returns:

json

(async, static) getPicks(id)

Source:

Gets the Men's College Basketball game PickCenter data for a specified game.

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

Game id.

Returns:

json

(async, static) getPlayByPlay(id)

Source:

Gets the Men's College Basketball game play-by-play data for a specified game.

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

Game id.

Returns:

json

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

Source:

Gets the Men's College Basketball Player recruiting data for a specified year, page, position and institution type if available.

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

Year (YYYY)

page number

Page (50 per page)

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

Institution Type

Returns:

json

(async, static) getRankings(year, week)

Source:

Gets the Men's College Basketball rankings data for a specified year and week if available.

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

Year (YYYY)

week *

Week

Returns:

json

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

Source:

Gets the Men's College Basketball schedule data for a specified date if available.

Example
const result = await sdv.cbb.getSchedule(
year = 2021, month = 02, day = 15, group=50
)
Parameters:
Name Type Description
year *

Year (YYYY)

month *

Month (MM)

day *

Day (DD)

group number

Group is 50 for Division-I, 51 for Division-II, 52 for Division-III

seasontype number

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

Returns:

json

(async, static) getSchoolCommits(year, school)

Source:

Gets the Men's College Basketball School commitment data for a specified school and year.

Example
const result = await sdv.cbb.getSchoolCommits({school: 'Clemson', year: 2016});
Parameters:
Name Type Description
year *

Year (YYYY)

school string

School

Returns:

json

(async, static) getSchoolRankings(year, page)

Source:

Gets the Men's College Basketball School recruiting data for a specified year, page, position and institution type if available.

Example
const result = await sdv.cbb.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 Men's College Basketball scoreboard data for a specified date if available.

Example
const result = await sdv.cbb.getScoreboard(
year = 2021, month = 02, day = 15, group=50
)
Parameters:
Name Type Description
year *

Year (YYYY)

month *

Month (MM)

day *

Day (DD)

group number

Group is 50 for Division-I, 51 for Division-II, 52 for Division-III

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 Men's College Basketball.

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

Season

group number

Group is 50 for Division-I, 51 for Division-II, 52 for Division-III

Returns:

json

(async, static) getSummary(id)

Source:

Gets the Men's College Basketball game summary data for a specified game.

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

Game id.

Returns:

json

(async, static) getTeamInfo(id)

Source:

Gets the team info for a specific College Basketball team.

Example
get individual team data
const teamId = 52;
const result = await sdv.cbb.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.cbb.getTeamList(group=50);
Parameters:
Name Type Description
group number

Group is 50 for Division-I, 51 for Division-II, 52 for Division-III

Returns:

json

(async, static) getTeamPlayers(id)

Source:

Gets the team roster information for a specific Men's College Basketball team.

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

Team Id

Returns:

json