Season Team Stats
us.season.ncaab.teamsStats displays a sortable team statistics table for all teams in a given season. Data can be filtered by conference, per-game/totals, and season type (regular season, postseason, total).
All widget properties are optional. By default, the widget will provide a table for the active season.
Parameters
Name | Type | Description | ||||
---|---|---|---|---|---|---|
props |
object | properties | ||||
Name | Type | Argument | Default | Description | ||
seasonId |
number | optional | active season | Season ID | ||
year |
number | optional | Season year. | |||
seasonType |
string | optional | 'regular' | Season type: total , regular , or postseason . |
||
mode |
string | optional | 'totals' | Initial mode to display. Options: totals or perGame . |
||
conference |
string | optional | all | Conference name. To find a list of valid names, click here. | ||
pageLength |
number | optional | 50 | Number of teams to display per page. | ||
border |
boolean | optional | When set to true the table is displayed with a border. |
|||
disableTitle |
boolean | optional | When set to true the widget title is hidden. |
|||
hideFilters |
boolean | optional | When set to true hides all filters / dropdown. |
|||
columns |
string | optional | Comma separated string of table statistics column keys. Used for picking fewer columns and different order. Valid options are: pts , reb , ast , stl , blk , to , pf , fgm , fga , fgp , ftm , fta , ftp , 3pm , 3pa , 3pp . |
|||
onItemClick |
function | optional | Function/event handler. Emits uniqueTeamId , seasonId , uniqueTournamentId on table row click or touch. |
props.Columns Option Descriptions
Option | Description |
---|---|
pts |
Points |
reb |
Rebounds |
ast |
Assists |
stl |
Steals |
blk |
Blocks |
to |
Turnovers |
pf |
Personal Fouls |
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.teamsStats"></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.teamsStats', {});
</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.teamsStats', {onItemClick: function(type, obj){alert('uniqueTeamId: ' + obj.uniqueTeamId);}});
</script>
<div id="sr-widget"></div>
Updated over 1 year ago