Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

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

NameTypeDescription
propsobjectproperties
NameTypeArgumentDefaultDescription
playerIdnumberoptionalPlayer ID
seasonDefaultSortDirectionstringoptional'asc'Sets initial season column sort direction. Valid options are: asc / desc.
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, shp, gwg, otg, sog, sp, toigp, 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, gs, w, l, otl, ga, gaa, sa, s, svp, sho, toi. A table of definitions is included below.
borderbooleanoptionalWhen set to true the table is displayed with border.
skaterColumns Option Descriptions
OptionDescription
gpGames Played
gGoals
aAssists
pPoints
pmPlus / Minus
pimPenalty Minutes
ppgPower Play Goals
shgShort Handed Goals
shpShort Handed Points
gwgWinning Goals
otgOvertime Goals
sogShots on Goal
spShooting Percentage
toigpTime on Ice per Game
fowpFaceoff Win Percentage
goalieColumns Option Descriptions
OptionDescription
gpGames Played
gsGames Started
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.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>