Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Player Career Stats

us.player.nba.CareerStats displays the career stats of a given NBA player.

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

Parameters

NameTypeArgumentDefaultDescription
playerIdnumberrequiredPlayer ID
modestringoptional'totals'Season type: totals, perGame
typestringoptional'professional'Player career type: professional, college.
seasonDefaultSortDirectionstringoptional'asc'Sets initial season column sort direction. Valid options are: asc / desc.
totalsColumnsstringoptionalComma separated string of table statistics column keys. Used for picking fewer columns and different order. Valid options are: gp, gs, min, fgm, fga, fgp, 3pm, 3pa, 3pp, ftm, fta, ftp, oreb, dreb, reb, to, ast, stl, blk, ba, pf, pm, pts. A table of definitions is included below.
perGameColumnsstringoptionalComma separated string of table statistics column keys. Used for picking fewer columns and different order. Valid options are: gp, gs, min, fgm, fga, fgp, 3pm, 3pa, 3pp, ftm, fta, ftp, oreb, dreb, reb, to, ast, stl, blk, ba, pf, pm, pts. A table of definitions is included below.
borderbooleanoptionalWhen set to true the table is displayed with a border.
totalsColumns and perGameColumns Option Descriptions
OptionDescription
gpGames Played
gsGames Started
minMinutes
fgmField Goals Made
fgaField Goals Attempted
fgpField Goal Percentage
3pmThree Pointers Made
3paThree Pointers Attempted
3ppThree Point Percentage
ftmFree Throws Made
ftaFree Throws Attempted
ftpFree Throw Percentage
orebOffensive Rebounds
drebDefensive Rebounds
rebRebounds
toTurnovers
astAssists
stlSteals
blkBlocks
baBlocked Attempts
pfPersonal Fouls
pmPlus/Minus
ptsPoints

Examples

<div class="sr-widget" data-sr-widget="us.player.nba.careerStats" data-sr-player-id="608110"></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.nba.careerStats', {playerId: '608110'});
</script>
<div id="sr-widget"></div>