Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Match List

us.common.MatchList displays a daily list of past, present and future matches. Scores are automatically updated in real-time during live matches.

This widget uses local storage for persisting end-user selection (date, live, show/hide odds). The widget displays date/time in the end user's local timezone (based on operating system settings).

Parameters

NameTypeDescription
propsobjectproperties
NameTypeArgumentDefaultDescription
matchIdnumberoptionalMatch ID
dayOffsetnumberoptional0Day offset from the current date. Default value is 0 (current date).
sportIdnumberoptional1Sport ID. 1 (Soccer), 2 (Basketball), 3 (Baseball), 4 (Ice Hockey), 9 (Golf), 16 (American Football).
isLivebooleanoptionalfalseDisplays only live matches when set to true.
showOddsbooleanoptionalfalseWhen set to true includes odds data for each match.
disableOddsbooleanoptionalfalseWhen set to true disables the odds button in the right corner.
onItemClickfunctionoptionalFunction/Event handler, emits matchId on click or touch.
filterUtIdsstringoptionalComma-separated unique tournament IDs. When set, only matches within specified unique tournaments will be listed.
filterRcIdsstringoptionalComma-separated real category IDs. When set, only matches within specified real categories will be listed.
favoriteTournamentsstringoptionalComma-separated unique tournament IDs. When set, tournaments with a specified unique ID will be added to the top of the match list.
oddsDeeplinkLabelsobjectoptionalAn object of deeplinking labels.
deeplinkParamsobjectoptionalAn object of deeplinking parameters.

Examples

<div class="sr-widget" data-sr-widget="us.common.matchList" data-sr-sport-id="1"></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.common.matchList', {sportId: 1});
</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.common.matchList', {sportId: 1, onItemClick: function(type, obj){alert('matchId: ' + obj.matchId);}});
</script>
<div id="sr-widget"></div>