Player Career Stats
us.player.nfl.CareerStats displays the career stats of a given NFL player.
For the widget to render you must provide a valid playerId
.
Parameters
Name | Type | Argument | Default | Description |
playerId |
string | required | Player ID | |
seasonType |
string | optional | Season Type: regular or playoffs . |
|
seasonDefaultSortDirection |
string | 'asc' | Sets initial season column sort direction. Valid options are asc and desc |
|
disableSeasonTypeDropdown |
boolean | optional | When set to true omits the season type dropdown. |
|
displayAccumulatedStatsCategoriesOnly |
boolean | optional | true | When set to true individual tables are displayed only if a player has accumulated stats for a given category. |
border |
boolean | optional | When set to true the table is displayed with a border. |
Columns Option Descriptions
Examples
<div class="sr-widget" data-sr-widget="us.player.nfl.careerStats" data-sr-player-id="41c44740-d0f6-44ab-8347-3b5d515e5ecf"></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.nfl.careerStats', {playerId: '41c44740-d0f6-44ab-8347-3b5d515e5ecf'});
</script>
<div id="sr-widget"></div>
Updated almost 2 years ago