Player Season Statistics
us.season.nfl.playersStats displays seasonal statistics for NFL players.
All properties are optional. By default, the widget provides player statistics for the active season.
Parameters
Name | Type | Description | ||||
---|---|---|---|---|---|---|
props |
object | properties | ||||
Name | Type | Argument | Default | Description | ||
seasonId |
number | optional | Season ID (Year or Fishnet ID) | |||
seasonType |
number | optional | 'regular' | Season type: regular / playoffs |
||
category |
string | optional | 'passing' | Statistics mode: passing , rushing , receiving , defense , kicking , punting , returns . |
||
conference |
string | optional | 'all' | Conference filter: all , afc , or nfc . |
||
teamId |
number | optional | Team ID with or without 'sd:team:' prefix. When teamId is entered team dropdown is hidden. | |||
qualifiesAsLeagueLeader |
boolean | optional | true | When set to true enables statistical minimums to qualify a player for inclusion in a statistical category. |
props Name | Type | Argument | Default | Description |
---|---|---|---|---|
useRadar360Qualifiers |
boolean | optional | When set to true uses radar360 data as qualifiers source. |
|
props.pageLength |
number | optional | 50 | Number of players to display per page. |
props.disableTitle |
boolean | optional | When set to true hides the widget title. |
|
props.hideFilters |
boolean | optional | When set to true hides all filters/dropdowns. |
|
props.hideFilters |
boolean | optional | When set to true hides all filters/dropdowns. |
|
props.hideFilters |
boolean | optional | When set to true hides all filters/dropdowns. |
|
props.hideFilters |
boolean | optional | When set to true hides all filters/dropdowns. |
|
props.hideFilters |
boolean | optional | When set to true hides all filters/dropdowns. |
|
props.disableCategoryDropdown |
boolean | optional | When set to true hides category dropdown. |
|
props.disableQualifiersSwitch |
boolean | optional | When set to true hides qualifiers switch. |
|
props.disableSeasonDropdown |
boolean | optional | When set to true hides season dropdowns. |
|
props.disableSeasonTypeDropdown |
boolean | optional | When set to true hides season type dropdowns. |
|
props.disableConferenceDropdown |
boolean | optional | When set to true hides conference dropdowns. |
|
props.disableTeamsDropdown |
boolean | optional | When set to true hides teams dropdowns. |
|
props.disablePositionsDropdown |
boolean | optional | When set to true hides positions dropdowns. |
|
props.border |
boolean | optional | When set to true the table is displayed with border. |
|
props.passingColumns |
string | optional | Comma separated string of passing statistics column keys. Used for picking fewer columns and different order. Valid options are: team , position , passer_rat , passing_comp , passing_att , passing_cmp_pct , passing_yds , passing_tds , passing_int , passing_yds_att , passing_yds_game , catchable_pass , sacks_allowed , hurries , avg_pocket_time . |
|
props.rushingColumns |
string | optional | Comma separated string of rushing statistics column keys. Used for picking fewer columns and different order. Valid options are: team , position , rush_att , rush_yds , rush_avg , rush_td , rush_att_game , rush_yds_game , rush_first_downs , rush_stuff_pct , fumbles , fumbles_lost , rushing_td_pct , rush_yac_avg , rush_ybc_avg , rush_brk_tack . |
|
props.receivingColumns |
string | optional | Comma separated string of receiving statistics column keys. Used for picking fewer columns and different order. Valid options are team , position , targets , receptions , rec_yds , rec_tds , targets_game , rec_yds_game , yds_rec , first_down_pct , avg_yds_catch , avg_yac , rec_drop , brk_tack . |
|
props.defenseColumns |
string | optional | Comma separated string of defensive statistics column keys. Used for picking fewer columns and different order. Valid options are team , position , tot_tack , assists , def_sacks , def_sack_yds , forced_fumbles , def_tgt , passes_defended , def_int , int_td , safety , tfl , def_blitz , qbh , def_knocks , def_hurries , pressures , def_snaps . |
|
props.kickingColumns |
string | optional | Comma separated string of kicking table statistics column keys. Used for picking fewer columns and different order. Valid options are team , position , kickoffs , kickoffs_tb , kickoffs_tb_pct , kickoffs_yds , kickoff_yds_avg , fgm , fga , fg_pct , xpm , xpa , xp_pct . |
|
props.puntingColumns |
string | optional | Comma separated string of punting table statistics column keys. Used for picking fewer columns and different order. Valid options are team , position , punts , gross_punt_yds , gross_punt_avg , punts_blocked , punting_touchbacks , punt_i20 , punt_long , net_punt_yds , net_punt_avg , hang . |
|
props.returnsColumns |
string | optional | Comma separated string of returns table statistics column keys. Used for picking fewer columns and different order. Valid options are team , position , punt_returns , punt_ret_yds , punt_ret_avg , punt_ret_fc , punt_ret_long , punt_ret_td , kickoff_returns , kickoff_return_yds , kickoff_return_avg , kick_return_long , kickoff_return_td . |
|
props.passingSortIdx |
string | optional | Overrides passing table default sort statistics column index. 1, 2, 3.... | |
props.rushingSortIdx |
string | optional | Overrides rushing table default sort statistics column index. 1, 2, 3.... | |
props.receivingSortIdx |
string | optional | Overrides receiving table default sort statistics column index. 1, 2, 3.... | |
props.defenseSortIdx |
string | optional | Overrides defensive table default sort statistics column index. 1, 2, 3.... | |
props.kickingSortIdx |
string | optional | Overrides kicking table default sort statistics column index. 1, 2, 3.... | |
props.puntingSortIdx |
string | optional | Overrides punting table default sort statistics column index. 1, 2, 3.... | |
props.returnsSortIdx |
string | optional | Overrides return table default sort statistics column index. 1, 2, 3.... | |
props.onItemClick |
function | optional | Function/event handler. Emits playerId , teamId , seasonId , uniqueTournamentId on table row click or touch. |
Examples
<div class="sr-widget" data-sr-widget="us.season.nfl.playersStats" data-sr-season-id="2019"></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.season.nfl.playersStats', {seasonId: 2019, qualifiesAsLeagueLeader: false, teamId: 'sd:team:82cf9565-6eb9-4f01-bdbd-5aa0d472fcd9'});
</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.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
language: 'en_us'
});
SIR('addWidget', '#sr-widget', 'us.season.nfl.playersStats', {seasonId:'63509', onItemClick: function(type, obj){alert(type +': ' + JSON.stringify(obj));}});
</script>
<div id="sr-widget"></div>
Updated over 1 year ago