Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Player Seasonal Statistics

us.season.nhl.playersStats provides a seasonal statistics table for all NHL players.

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

Parameters

NameTypeDescription
propsobjectproperties
NameTypeArgumentDefaultDescription
seasonIdnumberoptionalSeason ID
seasonTypestringoptional'regular'Season Type: regular / playoffs
categorystringoptional'skater'Statistics Mode: skater / goalie
conferencestringoptional'skater'Conference Filter: eastern / western except for the 2020/21 season the division names are used instead: central / east / north / west
uniqueTeamIdnumberoptionalUnique team ID filter.
qualifiesAsLeagueLeaderbooleanoptional'true'When set to true enables statistical minimums to qualify a player for inclusion in a statistical category.
disableTitlebooleanoptionalWhen set to true hides the widget title.
hideFiltersbooleanoptionalWhen set to true hides all filters / dropdown.
skaterColumnsstringoptionalComma separated string of skater table statistics column keys. Used for picking fewer columns and different order. Valid options are: gp, g, a, p, pm, pim, ppg, shg, sog, sp, toigp, shiftsgp, fowp. A table of definitions is included below.
goaliesColumnsstringoptionalComma separated string of goalie table statistics column keys. Used for picking fewer columns and different order. Valid options are: gp, w, l, otl, ga, gaa, sa, s, svp, sho, toi. A table of definitions is included below.
skaterSortIdxstringoptionalOverrides skater table default sort statistics column index. 1, 2, 3....
goalieSortIdxstringoptionalOverrides goalie table default sort statistics column index. 1, 2, 3....
pageLengthnumberoptional50How many players display per page.
borderbooleanoptionalWhen set to true the table is displayed with border.
onItemClickfunctionoptionalFunction/event handler. Emits playerId, uniqueTeamId, seasonId, uniqueTournamentId on table row click or touch.
skaterColumns Option Descriptions
OptionDescription
gpGames Played
gGoals
aAssists
pPoints
pmPlus / Minus
pimPenalty Minutes
ppgPower Play Goals
shgShort Handed Goals
sogShots on Goal
spShooting Percentage
toigpTime on Ice per Game
shiftsgpShifts per Game
fowpFaceoff Win Percentage
goalieColumns Option Descriptions
OptionDescription
gpGames Played
wWins
lLosses
otlOvertime Losses
gaGoals Against
gaaGoals Against Average
saShots Against
sSaves
svpSaves Percentage
shoShutouts
toiTime on Ice

Examples

<div class="sr-widget" data-sr-widget="us.season.nhl.playersStats"></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.sir.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.season.nhl.playersStats', {});
</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.sir.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.season.nhl.playersStats', {onItemClick: function(type, obj){alert('playerId: ' + playerId + ', uniqueTeamId: ' + obj.uniqueTeamId);}});
</script>
<div id="sr-widget"></div>