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