Betting Entertainment Tools

Custom Last Matches

custom.lastMatches

For the widget to render you need to provide matchId, other properties are optional.

Parameters
Name Type Description
props object
matchId number

Match ID.

Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="custom.lastMatches" data-sr-match-id="18428096"></div>
<script type="application/javascript" src="https://widgets.sir.sportradar.com/sportradar/widgetloader" async></script>

JS/Programmatic

<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.sir.sportradar.com/sportradar/widgetloader","SIR", {
        language: 'en'
    });
    SIR('addWidget', '#sr-widget', 'custom.lastMatches', {matchId: 18428096});
</script>
<div id="sr-widget"></div>