Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Team Seasonal Statistics

us.season.nhl.teamsStats displays a sortable team statistics table for all teams in a given season.

All widget properties are optional. By default, the widget will a table for the active season.

Parameters

NameTypeDescription
propsobjectproperties
NameTypeArgumentDefaultDescription
seasonIdnumberoptionalactive seasonSeason ID
seasonTypestringoptional'regular'Season type: regular / playoffs.
conferencestringoptionalConference filter: eastern / western. For the 2020/21 season the division names are used instead: central, east, north, west.
borderbooleanoptionalWhen set to true the table is displayed with border.
disableTitlebooleanoptionalWhen set to true hides the widget title.
hideFiltersbooleanoptionalWhen set to true hides all filters / dropdown.
columnsstringoptionalComma separated string of hitting table statistics column keys. Used for picking fewer columns and different order. Valid options are: gp, w, l, otl, pts, pp, g, a, sog, pim, ga, sho, sowins, gfgp, gagp, ppp, pkp.
onItemClickfunctionoptionalFunction/event handler. Emits uniqueTeamId, seasonId, uniqueTournamentId on table row click or touch.
Columns Option Descriptions
OptionDescription
gpGames Played
wWins Total
lLosses Total
otlOvertime Losses Total
ptsPoints
ppPoints Percentage
gGoals
aAssists
sogShots On Goal
pimPenalty Minutes
gaOpponent Goals
shoShutouts
sowinsTeam Shootout Wins
gfgpGoals For per Games Played
gagpGoals Against per Games Played
pppPowerplay Conversion Percentage
pkpPenalty Kill Percentage

Examples

<div class="sr-widget" data-sr-widget="us.match.nhl.teamsStats" data-sr-season-id="85082"></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.match.nhl.teamsStats', {seasonId: 85082});
</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.nhl.teamsStats', {onItemClick: function(type, obj){alert('uniqueTeamId: ' + obj.uniqueTeamId);}});
</script>
<div id="sr-widget"></div>