Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Schedule and Results

us.season.nfl.scheduleAndResults displays weekly schedules and results for all NFL games.

For the widget to render you must provide a valid seasonId. All other properties are optional.

Parameters

NameTypeArgumentDefaultDescription
seasonIdnumberrequiredNFL Season ID (Year)
seasonTypestringoptionalSets the default selected season type. Valid values are: pre, reg, or pst. It must be specified together with week; either both or none must be set. If this prop is null then the season type of the currently active week of the specified seasonId will be used.
weeknumberoptionalnullSets the selected week. It must be specified together with seasonType; either both or none must be set. The valid number depends on the value of seasonType. For pre, valid values are 0-4. For reg, valid values are 1-17. For pst, valid values are 1-5. If this prop is null then the currently active week of the specified seasonId will be used.
disableWidgetHeaderbooleanoptional'false'When set to true hides the widget header.
disableOpenScoringTablebooleanoptionalfalseWhen set to true disables the opening of the scoring table on clicks for small and medium sizes.
enableGameSelectbooleanoptionalfalseEnables game selection. Interactive areas are: entire game and row. MatchId is emitted on click or touch.
enableMatchSelectbooleanoptionalfalseEnables game selection. Interactive areas are: entire game and row. MatchId is emitted on click or touch.
enableTeamSelectbooleanoptionalfalseEnables team selection. Interactive areas are: team name and logo in the match headers and entire rows in the scoring table of the match headers. TeamId is emitted on click or touch.
enableSeasonSelectbooleanoptionalfalseEnables seasonal attributes selection. Interactive areas are: entire game and row. SeasonId, seasonType and week are emitted on click or touch.
onItemClickfunctionoptionalFunction/event handler. Emits teamId on team click or touch, matchId on match click or touch and seasonId, seasonType and week on season change enableGameSelect
borderbooleanoptionalIf true draws a border around the widget.

Examples

<div class="sr-widget" data-sr-widget="us.season.nfl.scheduleAndResults" 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.scheduleAndResults', { seasonId: 2019 });
</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.scheduleAndResults', { seasonId: 2019, onItemClick: function(target, data){ console.log(target, data); }});
</script>
<div id="sr-widget"></div>