Widget Docs
Coverage MatrixDocumentationRelease LogLog In

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

Name Type Argument Default Description
seasonId number required Season ID
year number optional current season year Season year.
seasonType string optional 'regular' Season type. Valid options are: regular, playoffs, or total.
conference string optional all conferences Selected conference. Can be aac, acc, big12, b1g, cusa, independent, mac, mwc, sec, sbelt, pac12.
statType string optional 'points' Selected Stat. See below for valid options.
disableHeader boolean optional If true hides the header.
disableStatsDropdown boolean optional If true hides the statistic type dropdown.
disableConferenceDropdown boolean optional If true hides the conference dropdown.
teamsLimit number optional 5 Limits list length.
border boolean optional If true enables a border around the widget.
onItemClick function optional Function/event handler. Emits event on team row click or touch.

Valid options for statType:

Option Description
points Points
total_yards_yards Total Yards
passing_yards Passing Yards
passing_attempts Passing Attempts
passing_interception Interceptions Thrown
rushing_yards Rushing Yards
rushing_attempts Rushing Attempts
rushing_touchdowns Rushing Touchdowns
receiving_receptions Receptions
receiving_yards Receiving Yards
receiving_touchdowns Receiving Touchdowns
turnovers Turnovers
punts_total Punts
penalties_total Penalties
penalties_yards Penalty Yards
defense_tackles Tackles
defense_tackles_for_loss Tackles for Loss
defense_sacks Sacks
defense_interception Interceptions
possession_time Time of Possession
opponents_points Opponent Points
opponents_passing_yards Opponent Passing Yards
opponents_passing_touchdowns Opponent Receiving Touchdowns
opponents_rushing_yards Opponent Rushing Yards
opponents_rushing_touchdowns Opponent 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>