Standings
us.season.nfl.standings provides detailed standings info for a given season.
By default, the widget provides the active season standings.
Parameters
Name | Type | Description | ||||
---|---|---|---|---|---|---|
props |
object | properties | ||||
Name | Type | Argument | Default | Description | ||
seasonId |
number | optional | active season | Season ID (Year) | ||
border |
boolean | optional | If true enables a border around the widget. |
|||
showSeasonYearTitle |
boolean | optional | Adds season year to the title. | |||
showSeasonSelector |
boolean | optional | true | Displays the season selector dropdown. | ||
transformTeamId |
boolean | optional | If true onItemCLick event handler returns team id in "sd" format/origin instead of fishnet. |
|||
columns |
string | optional | Comma separated string of column keys. Used for picking fewer columns and different order. Valid options are w , l , t , pct , h , r , c , pf , pa , pd , d , sos , sov , s . |
|||
onItemClick |
function | optional | Function/event handler. Emits uniqueTeamId on table row click or touch. |
Columns Option Descriptions
Option | Description |
---|---|
w |
Wins |
l |
Losses |
t |
Ties |
pct |
Win Percentage |
h |
Home |
r |
Road |
c |
Conference |
pf |
Points For |
pa |
Points Against |
pd |
Point Differential |
d |
Division |
sos |
Strength of Schedule |
sov |
Strength of Victory |
s |
Streak |
Examples
<div class="sr-widget" data-sr-widget="us.season.nfl.standings" data-sr-season-id="2017"></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.nfl.standings', {seasonId:2017});
</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.nfl.standings', {seasonId: 2017, onItemClick: function(type, obj){alert('uniqueTeamId: ' + obj.uniqueTeamId);}});
</script>
<div id="sr-widget"></div>
Updated 4 months ago