Widget Docs
Coverage MatrixDocumentationRelease LogLog In

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

Name Type Description
props object properties
Name Type Argument Default Description
seasonId number optional Season ID
seasonType string optional 'regular' Season Type: regular / playoffs
category string optional 'skater' Statistics Mode: skater / goalie
conference string optional 'skater' Conference Filter: eastern / western except for the 2020/21 season the division names are used instead: central / east / north / west
uniqueTeamId number optional Unique team ID filter.
qualifiesAsLeagueLeader boolean optional 'true' When set to true enables statistical minimums to qualify a player for inclusion in a statistical category.
disableTitle boolean optional When set to true hides the widget title.
hideFilters boolean optional When set to true hides all filters / dropdown.
skaterColumns string optional Comma 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.
goaliesColumns string optional Comma 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.
skaterSortIdx string optional Overrides skater table default sort statistics column index. 1, 2, 3....
goalieSortIdx string optional Overrides goalie table default sort statistics column index. 1, 2, 3....
pageLength number optional 50 How many players display per page.
border boolean optional When set to true the table is displayed with border.
onItemClick function optional Function/event handler. Emits playerId, uniqueTeamId, seasonId, uniqueTournamentId on table row click or touch.

skaterColumns Option Descriptions

Option Description
gp Games Played
g Goals
a Assists
p Points
pm Plus / Minus
pim Penalty Minutes
ppg Power Play Goals
shg Short Handed Goals
sog Shots on Goal
sp Shooting Percentage
toigp Time on Ice per Game
shiftsgp Shifts per Game
fowp Faceoff Win Percentage

goalieColumns Option Descriptions

Option Description
gp Games Played
w Wins
l Losses
otl Overtime Losses
ga Goals Against
gaa Goals Against Average
sa Shots Against
s Saves
svp Saves Percentage
sho Shutouts
toi Time 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>