ncaa

ncaa

Source:

Operations for NCAA Sports.

Methods

(async, static) getBoxScore(game)

Source:

Gets the box score data for a specified game if available.

Example
const result = await sdv.ncaa.getBoxScore(5764053);
Parameters:
Name Type Description
game number

Game id.

Returns:

json

(async, static) getDivisions(sport, season)

Source:

Retrieves the Divisions for the selected sport and season.

Example
const result = sdv.ncaa.getDivisions(sport='MBB', season='2017');
Parameters:
Name Type Description
sport string

Sport abbreviation. Acceptable values: 'MBA' = Baseball, 'MBB' = Men's basketball, 'MFB' = Men's Football, 'MIH' = Men's Ice-hockey, 'MLA' = Men's Lacrosse', 'MSO' = Men's Soccer, 'MTE' = Men's Tennis, 'MVB' = Men's Volleyball, 'MWP' = Men's Water Polo, 'WBB' = Women's Basketball, 'WBW' = Women's Bowling, 'WFH' = Field Hockey, 'WIH' = Women's Ice-Hockey, 'WLA' = Women's Lacrosse, 'WSB' = Women's Softball, 'WSO' = Women's Soccer, 'WSV' = Women's Beach Volleyball, 'WTE' = Women's Tennis, 'WVB' = Women's Volleyball, 'WWP' = Women's Water Polo

season string

Season for sport

Returns:

json

(async, static) getInfo(game)

Source:

Gets the gameInfo data for a specified game.

Example
const result = await sdv.ncaa.getInfo(5764053);
Parameters:
Name Type Description
game number

Game id.

Returns:

json

(async, static) getPlayByPlay(game)

Source:

Gets the play-by-play data for a specified game if available.

Example
const result = await sdv.ncaa.getPlayByPlay(5764053);
Parameters:
Name Type Description
game number

Game id.

Returns:

json

(async, static) getPlayerData(sport, season, division, rankingPeriod, gameHigh, category)

Source:

Get the Player Data from the NCAA Stats website.

Example
const players =  await sdv.ncaa.getPlayerData(sport = 'MFB', year = '2017', division = '11',rankingPeriod = '52', gameHigh='N', category = '20')
Parameters:
Name Type Description
sport

Sport abbreviation. Acceptable values: 'MBA' = Baseball, 'MBB' = Men's basketball, 'MFB' = Men's Football, 'MIH' = Men's Ice-hockey, 'MLA' = Men's Lacrosse', 'MSO' = Men's Soccer, 'MTE' = Men's Tennis, 'MVB' = Men's Volleyball, 'MWP' = Men's Water Polo, 'WBB' = Women's Basketball, 'WBW' = Women's Bowling, 'WFH' = Field Hockey, 'WIH' = Women's Ice-Hockey, 'WLA' = Women's Lacrosse, 'WSB' = Women's Softball, 'WSO' = Women's Soccer, 'WSV' = Women's Beach Volleyball, 'WTE' = Women's Tennis, 'WVB' = Women's Volleyball, 'WWP' = Women's Water Polo

season

Season of query, value for 2016-2017 season would be 2017.

division

Division, for college football: 11 for FBS, 12 for FCS, otherwise 1 for Division-I, 2 for Division-II, 3 for Division-III.

rankingPeriod

Integer value indicating the ranking period, options can be found from using the @function ncaaSports.getSportDivisionData function.

gameHigh 'Y' | 'N'

logical, indicating whether the statistic desired is of the game-high variety

category

Value for the stat category, can also be found using the @function ncaaSports.getSportDivisionData

Returns:

json

(async, static) getRedirectUrl(url)

Source:

Gets the gameId for older games whose url redirects to the current url pattern using the game url fragment (relative to https://ncaa.com) pulled from ncaaScoreboard

Example
const result = await sdv.ncaaScoreboard.getNcaaScoreboard(
sport = 'basketball-men', division = 'd3', year = 2019, month = 02, day = 15
)
const urlGame = result["games"][16]["game"]["url"]
const gameId = await sdv.ncaa.getRedirectUrl(url=urlGame);
Parameters:
Name Type Description
url string

Game url as pulled from ncaaScoreboard.getNcaaScoreboard.

Returns:

json

(async, static) getScoreboard(sport, division, year, month, day)

Source:

Gets the scoreboard data for a specified date and team sport if available.

Example
const result = await sdv.ncaa.getScoreboard(
sport = 'basketball-men', division = 'd3', year = 2019, month = 02, day = 15
)
Parameters:
Name Type Description
sport string

Sport name. Acceptable values: 'football','basketball-men', 'basketball-women', 'baseball', 'softball', 'soccer-men','soccer-women', 'fieldhockey', 'icehockey-men','icehockey-women', 'lacrosse-men','lacrosse-women', 'beach-volleyball', 'volleyball-women', 'volleyball-men'

division string

Division of teams desired. Acceptable values: Football - ['fbs','fcs','d2','d3'] All others - ['d1','d2','d3']

year *

Year (YYYY)

month *

Month (MM)

day *

Day (DD)

Returns:

json

(async, static) getScoringSummary(game)

Source:

Gets the scoring summary data for a specified game if available.

Example
const result = await sdv.ncaa.getScoringSummary(5764053);
Parameters:
Name Type Description
game number

Game id.

Returns:

json

(async, static) getSeasons(sport)

Source:

Retrieves the seasons for the selected sport.

Example
const result = sdv.ncaa.getSeasons(sport='MBB');
Parameters:
Name Type Description
sport string

Sport abbreviation. Acceptable values: 'MBA' = Baseball, 'MBB' = Men's basketball, 'MFB' = Men's Football, 'MIH' = Men's Ice-hockey, 'MLA' = Men's Lacrosse', 'MSO' = Men's Soccer, 'MTE' = Men's Tennis, 'MVB' = Men's Volleyball, 'MWP' = Men's Water Polo, 'WBB' = Women's Basketball, 'WBW' = Women's Bowling, 'WFH' = Field Hockey, 'WIH' = Women's Ice-Hockey, 'WLA' = Women's Lacrosse, 'WSB' = Women's Softball, 'WSO' = Women's Soccer, 'WSV' = Women's Beach Volleyball, 'WTE' = Women's Tennis, 'WVB' = Women's Volleyball, 'WWP' = Women's Water Polo

Returns:

json

(async, static) getSportDivisionData(sport, season, division, rankingPeriod, type, gameHigh, category)

Source:

Request the data from the NCAA Stats website.

Example
const sportDivisionData = sdv.ncaa.getSportDivisionData(sport='MFB',season='2016',division=12,type='team',gameHigh=true);
Parameters:
Name Type Description
sport

Sport abbreviation. Acceptable values: 'MBA' = Baseball, 'MBB' = Men's basketball, 'MFB' = Men's Football, 'MIH' = Men's Ice-hockey, 'MLA' = Men's Lacrosse', 'MSO' = Men's Soccer, 'MTE' = Men's Tennis, 'MVB' = Men's Volleyball, 'MWP' = Men's Water Polo, 'WBB' = Women's Basketball, 'WBW' = Women's Bowling, 'WFH' = Field Hockey, 'WIH' = Women's Ice-Hockey, 'WLA' = Women's Lacrosse, 'WSB' = Women's Softball, 'WSO' = Women's Soccer, 'WSV' = Women's Beach Volleyball, 'WTE' = Women's Tennis, 'WVB' = Women's Volleyball, 'WWP' = Women's Water Polo

season

Season of query, value for 2016-2017 season would be 2017.

division

Division, for college football: 11 for FBS, 12 for FCS, otherwise 1 for Division-I, 2 for Division-II, 3 for Division-III.

rankingPeriod

Integer value indicating the ranking period, options can be found from using the @function ncaaSports.getSportDivisionData function.

type

Individual or Team type of statistics

gameHigh

logical, indicating whether the statistic desired is of the game-high variety

category

Value for the stat category, can also be found using the @function ncaaSports.getSportDivisionData

Returns:

json

(static) getSports()

Source:

Retrieves the set of sports and their abbreviations.

Example
const result = sdv.ncaa.getSports();
Returns:

json

(async, static) getTeamData(sport, season, division, rankingPeriod, gameHigh, category)

Source:

Get the Team Data from the NCAA Stats website.

Example
const teams =  await sdv.ncaa.getTeamData(sport = 'MFB', year = '2017', division = '11', rankingPeriod = '52', gameHigh='N', category = '20')
Parameters:
Name Type Description
sport

Sport abbreviation. Acceptable values: 'MBA' = Baseball, 'MBB' = Men's basketball, 'MFB' = Men's Football, 'MIH' = Men's Ice-hockey, 'MLA' = Men's Lacrosse', 'MSO' = Men's Soccer, 'MTE' = Men's Tennis, 'MVB' = Men's Volleyball, 'MWP' = Men's Water Polo, 'WBB' = Women's Basketball, 'WBW' = Women's Bowling, 'WFH' = Field Hockey, 'WIH' = Women's Ice-Hockey, 'WLA' = Women's Lacrosse, 'WSB' = Women's Softball, 'WSO' = Women's Soccer, 'WSV' = Women's Beach Volleyball, 'WTE' = Women's Tennis, 'WVB' = Women's Volleyball, 'WWP' = Women's Water Polo

season

Season of query, value for 2016-2017 season would be 2017.

division

Division, for college football: 11 for FBS, 12 for FCS, otherwise 1 for Division-I, 2 for Division-II, 3 for Division-III.

rankingPeriod

Integer value indicating the ranking period, options can be found from using the @function ncaaSports.getSportDivisionData function.

gameHigh 'Y' | 'N'

logical, indicating whether the statistic desired is of the game-high variety

category

Value for the stat category, can also be found using the @function ncaaSports.getSportDivisionData

Returns:

json

(async, static) getTeamStats(game)

Source:

Gets the team stats data for a specified game if available.

Example
const result = await sdv.ncaa.getTeamStats(5764053);
Parameters:
Name Type Description
game number

Game id.

Returns:

json