Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Top Teams

us.season.ncaaf.topTeams provides a team leaderboard for a selected statistic and season.

For the widget to render you must provide a valid seasonId.

Parameters

NameTypeArgumentDefaultDescription
seasonIdnumberrequiredSeason ID
yearnumberoptionalcurrent season yearSeason year.
seasonTypestringoptional'regular'Season type. Valid options are: regular, playoffs, or total.
conferencestringoptionalall conferencesSelected conference. Can be aac, acc, big12, b1g, cusa, independent, mac, mwc, sec, sbelt, pac12.
statTypestringoptional'points'Selected Stat. See below for valid options.
disableHeaderbooleanoptionalIf true hides the header.
disableStatsDropdownbooleanoptionalIf true hides the statistic type dropdown.
disableConferenceDropdownbooleanoptionalIf true hides the conference dropdown.
teamsLimitnumberoptional5Limits list length.
borderbooleanoptionalIf true enables a border around the widget.
onItemClickfunctionoptionalFunction/event handler. Emits event on team row click or touch.
Valid options for statType:
OptionDescription
pointsPoints
total_yards_yardsTotal Yards
passing_yardsPassing Yards
passing_attemptsPassing Attempts
passing_interceptionInterceptions Thrown
rushing_yardsRushing Yards
rushing_attemptsRushing Attempts
rushing_touchdownsRushing Touchdowns
receiving_receptionsReceptions
receiving_yardsReceiving Yards
receiving_touchdownsReceiving Touchdowns
turnoversTurnovers
punts_totalPunts
penalties_totalPenalties
penalties_yardsPenalty Yards
defense_tacklesTackles
defense_tackles_for_lossTackles for Loss
defense_sacksSacks
defense_interceptionInterceptions
possession_timeTime of Possession
opponents_pointsOpponent Points
opponents_passing_yardsOpponent Passing Yards
opponents_passing_touchdownsOpponent Receiving Touchdowns
opponents_rushing_yardsOpponent Rushing Yards
opponents_rushing_touchdownsOpponent Rushing Touchdowns

Examples

<div class="sr-widget" data-sr-widget="us.season.ncaaf.topTeams" data-sr-season-id="57130"></div></code>
<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.ncaaf.topTeams', { year: 2018 });
</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.ncaaf.topTeams', {year: 2018, statType: 'defense_sacks', teamsLimit: '10', onItemClick: function(target, data) { console.log(target, data); }});
</script>
<div id="sr-widget"></div>