Widget Docs
Coverage MatrixDocumentationRelease LogLog InContact Us

Player Career Stats

us.player.nhl.careerStats displays the career stats of a given NHL player.

For the widget to render you must provide a valid playerId.

Parameters

Name Type Description
props object properties
Name Type Argument Default Description
playerId number optional Player ID
seasonDefaultSortDirection string optional 'asc' Sets initial season column sort direction. Valid options are: asc / desc.
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, shp, gwg, otg, sog, sp, toigp, 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, gs, w, l, otl, ga, gaa, sa, s, svp, sho, toi. A table of definitions is included below.
border boolean optional When set to true the table is displayed with border.

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
shp Short Handed Points
gwg Winning Goals
otg Overtime Goals
sog Shots on Goal
sp Shooting Percentage
toigp Time on Ice per Game
fowp Faceoff Win Percentage

goalieColumns Option Descriptions

Option Description
gp Games Played
gs Games Started
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.player.nhl.careerStats" data-sr-player-id="29571"></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.player.nhl.careerStats', {playerId: '29571'});
</script>
<div id="sr-widget"></div>