Player Seasonal Statistics
us.season.ncaab.playersStats displays seasonal statistics for NCAA basketball players.
All properties are optional. By default, the widget provides player statistics for the active season.
Parameters
| Name | Type | Description | ||||
|---|---|---|---|---|---|---|
| props | object | properties | ||||
| Name | Type | Argument | Default | Description | ||
| seasonId | number | optional | Season ID | |||
| seasonType | string | optional | 'regular' | Season type: total,regular,postseason. | ||
| mode | string | optional | 'perGame' | Statistics mode: totals/perGame | ||
| conference | string | optional | Conference filter. Click here for a list of valid conferences. | |||
| pageLength | number | optional | 50 | Number of players displayed per page. | ||
| border | boolean | optional | When set to truethe table is displayed with a border. | |||
| qualifiesAsLeagueLeader | boolean | optional | true | When set to trueenables statistical minimums to qualify a player for inclusion in a statistical category. | ||
| disableTitle | boolean | optional | When set to truehides the widget title. | |||
| hideFilters | boolean | optional | When set to truehides all filters / dropdown. | |||
| columns | string | optional | Comma separated string of table statistics column keys. Used for picking fewer columns and a different order. Valid options are gp,pts,ast,reb,stl,blk,to,fgm,fga,fgp,ftm,fta,ftp,3pm,3pa,3pp. | |||
| sortIdx | string | optional | Overrides hitting table default sort statistics column index. 1, 2, 3... | |||
| onItemClick | function | optional | Function/event handler. Emits playerId,uniqueTeamId,seasonId,uniqueTournamentIdon table row click or touch. | |||
| Option | Description | 
|---|---|
| gp | Games Played | 
| pts | Points | 
| ast | Assists | 
| reb | Rebounds | 
| stl | Steals | 
| blk | Blocks | 
| to | Turnovers | 
| fgm | Field Goals Made | 
| fga | Field Goals Attempted | 
| fgp | Field Goal Percentage | 
| ftm | Free Throws Made | 
| fta | Free Throws Attempted | 
| ftp | Free Throw Percentage | 
| 3pm | Three Pointers Made | 
| 3pa | Three Pointers Attempted | 
| 3pp | Three Point Percentage | 
Examples
<div class="sr-widget" data-sr-widget="us.season.ncaab.playersstats"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader" data-sr-language="en_us" async></script>
<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/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.season.ncaab.playersStats', {});
</script>
<div id="sr-widget"></div>
<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/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.season.ncaab.playersStats', {onItemClick: function(type, obj){alert('playerId: ' + playerId + ', uniqueTeamId: ' + obj.uniqueTeamId);}});
</script>
<div id="sr-widget"></div>
Updated 2 months ago
