Team Ranks
us.season.ncaab.teamRanks provides a given team's seasonal rankings for several statistics.
For the widget to render you must provide a valid teamUid
.
Parameters
Name | Type | Description | ||||
---|---|---|---|---|---|---|
props |
object | properties | ||||
Name | Type | Argument | Default | Description | ||
teamUid |
number | required | Unique Team ID | |||
seasonId |
number | optional | Season ID | |||
rankType |
string | optional | 'division' | A choice between league or conference team rankings. Options are: division or conference . |
||
seasonType |
string | optional | 'regular' | Season type: total , regular , playoffs . |
||
allowedOffenseStats |
string | optional | Comma separated offensive stats to display. See below for valid options. | |||
allowedDefenseStats |
string | optional | Comma separated defensive stats to display. See below for valid options. | |||
disableHeader |
boolean | optional | If true hides the widget header. |
|||
border |
boolean | optional | If true enables a border around the widget. |
|||
onItemClick |
function | optional | Function/event handler. Emits uniqueTeamId on click or touch. |
Valid allowedOffenseStats:
points_per_game/td> |
field_goals_made_per_game/td> |
field_goals_attempted_per_game/td> |
field_goals_percentage/td> |
three_pointers_made_per_game/td> |
three_pointers_attempted_per_game/td> |
three_points_percentage/td> |
free_throws_made_per_game/td> |
free_throws_attempted_per_game/td> |
free_throws_percentage/td> |
rebounds_per_game/td> |
offensive_rebounds_per_game/td> |
defensive_rebounds_per_game/td> |
assists_per_game/td> |
steals_per_game/td> |
blocks_per_game/td> |
turnovers_per_game/td> |
Valid allowedDefenseStats:
opponents_points_per_game/td> |
opponents_field_goals_made_per_game/td> |
opponents_field_goals_attempted_per_game/td> |
opponents_field_goals_percentage/td> |
opponents_three_pointers_made_per_game/td> |
opponents_three_pointers_attempted_per_game/td> |
opponents_three_points_percentage/td> |
opponents_free_throws_made_per_game/td> |
opponents_free_throws_attempted_per_game/td> |
opponents_rebounds_per_game/td> |
opponents_offensive_rebounds_per_game/td> |
opponents_defensive_rebounds_per_game/td> |
opponents_assists_per_game/td> |
opponents_steals_per_game/td> |
opponents_blocks_per_game/td> |
opponents_turnovers_per_game/td> |
Examples
<div class="sr-widget" data-sr-widget="us.season.ncaab.teamRanks" data-sr-team-uid="86698" ></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.teamRanks', {teamUid: 86698});
</script>
<div id="sr-widget"></div>
Updated over 1 year ago