Widgets.us.player.ncaab.CareerStats

A us.player.ncaab.CareerStats displays ncaab seasonal teams statistics table.

For the widget to render you need to provide playerId.

props.totalsColumns and props.perGameColumns options descriptions

optiondescription
gpGames Played
gsGames Started
minMinutes
fgmField Goals Made
fgaField Goals Attempted
fgpField Goals Percentage
3pmThree Points Made
3paThree Points Attempted
3ppThree Points Percentage
ftmFree Throws Made
ftaFree Throws Attempted
ftpFree Throws Percentage
orebOffensive Rebounds
drebDefensive Rebounds
rebRebounds
toTurnovers
astAssists
stlSteals
blkBlocks
baBlocked Attempts
pfPersonal Fouls
pmDefensive Rebounds
ptsPoints

new CareerStats(props)

Parameters
Name Type Description
props object
Properties
Name Type Argument Default Description
playerId number <optional>

Player Id.

mode string <optional>
'totals'

Season type: totals / perGame

seasonDefaultSortDirection string <optional>
'asc'

Sets initial season column sort direction. Valid options are asc and desc...

totalsColumns string <optional>

Comma separated string of "totals" table statistics column keys. Used for picking picking fewer columns and different order. Valid options are gp, gs, min, fgm, fga, fgp, 3pm, 3pa, 3pp, ftm, fta, ftp, oreb, dreb, reb, to, ast, stl, blk, ba, pf, pm, pts.

perGameColumns string <optional>

Comma separated string of "per game" table statistics column keys. Used for picking picking fewer columns and different order. Valid options are gp, gs, min, fgm, fga, fgp, 3pm, 3pa, 3pp, ftm, fta, ftp, oreb, dreb, reb, to, ast, stl, blk, ba, pf, pts.

disableTotalRow boolean <optional>

When set to true, disables the table total row.

hideBlankSeasons boolean <optional>

When set to true, hides blank season rows.

border boolean <optional>

When set to true, table is displayed with border.

Examples

HTML/Declarative

<div class="sr-widget" data-sr-widget="us.player.ncaab.careerStats" data-sr-player-id="1592116"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/uscommon/widgetloader" data-sr-language="en_us" async></script>

JS/Programmatic

<script>
    (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
    g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
    )})(window,document,"script","https://widgets.media.sportradar.com/uscommon/widgetloader","USW", {
        language: 'en_us'
    });
    USW('addWidget', '#sr-widget', 'us.player.ncaab.careerStats', {playerId: '1592116'});
</script>
<div id="sr-widget"></div>