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

Name Type Argument Default Description
seasonId number required NFL Season ID (Year)
seasonType string optional Sets 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.
week number optional null Sets 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.
disableWidgetHeader boolean optional 'false' When set to true hides the widget header.
disableOpenScoringTable boolean optional false When set to true disables the opening of the scoring table on clicks for small and medium sizes.
enableGameSelect boolean optional false Enables game selection. Interactive areas are: entire game and row. MatchId is emitted on click or touch.
enableMatchSelect boolean optional false Enables game selection. Interactive areas are: entire game and row. MatchId is emitted on click or touch.
enableTeamSelect boolean optional false Enables 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.
enableSeasonSelect boolean optional false Enables seasonal attributes selection. Interactive areas are: entire game and row. SeasonId, seasonType and week are emitted on click or touch.
onItemClick function optional Function/event handler. Emits teamId on team click or touch, matchId on match click or touch and seasonId, seasonType and week on season change enableGameSelect
border boolean optional If 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>