Player Seasonal Stats
us.season.nba.playersStats displays seasonal statistics for NBA players.
All properties are optional. By default, the widget provides player statistics for the active season.
Parameters
Name | Type | Argument | Default | Description |
seasonId |
number | optional | Season ID | |
seasonType |
string | optional | 'regular' | Season type: regular / playoffs |
mode |
string | optional | 'perGame' | Statistics mode: totals / perGame |
conference |
string | optional | Conference filter: eastern / western |
|
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. |
|
columns |
string | optional | Comma separated string of table statistics column keys. Used for picking fewer columns and a different order. Valid options are gp , pts , ast , reb , stl , blk , to , fgm , fga , fgp , ftm , fta , ftp , 3pm , 3pa , 3pp . |
|
sortIdx |
string | optional | Overrides table default sort statistics column index. 1, 2, 3... | |
pageLength |
number | optional | 50 | Number of players displayed per page. |
border |
boolean | optional | When set to true the table is displayed with a border. |
|
onItemClick |
function | optional | Function/event handler. Emits playerId , uniqueTeamId , seasonId , uniqueTournamentId on table row click or touch. |
Columns Option Descriptions
Option | Description |
---|---|
gp |
Games Played |
pts |
Points |
ast |
Assists |
reb |
Rebounds |
stl |
Steals |
blk |
Blocks |
to |
Turnovers |
fgm |
Field Goals Made |
fga |
Field Goals Attempted |
fgp |
Field Goal Percentage |
ftm |
Free Throws Made |
fta |
Free Throws Attempted |
ftp |
Free Throw Percentage |
3pm |
Three Pointers Made |
3pa |
Three Pointers Attempted |
3pp |
Three Point Percentage |
Examples
<div class="sr-widget" data-sr-widget="us.season.nba.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.nba.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.nba.playersStats', {onItemClick: function(type, obj){alert('playerId: ' + playerId + ', uniqueTeamId: ' + obj.uniqueTeamId);}});
</script>
<div id="sr-widget"></div>
Updated over 1 year ago