Betting Entertainment Tools

Season Top Lists

A season.topLists brings league's rankings across three statistical categories: Goals, Assists and Cards.

For the widget to render you need to provide one of the following parameter combinations:

  1. matchId,
  2. seasonId,
  3. tournamentId,
  4. uniqueTournamentId.
Parameters
Name Type Attributes Default Description
props object <required>
matchId number <required>

Match Id.

seasonId number <required>

Season Id.

tournamentId number <required>

Tournament Id.

uniqueTournamentId number <required>

Unique Tournament Id.

categories string goals, assists, cards

A comma-separated list of categories goals, assists, cards to display. Categories will be displayed in the same order as they have been defined. Does not work with dynamic change.

disableWidgetHeader boolean true

When set to true, hides widget header.

disableContrChart boolean false

When set to true, hides contribution chart.

activeTab string id_tab_goals

Determines active category tab. Does not work with dynamic change. Valid values are id_tab_goals, id_tab_assists,id_tab_cards.

onTrack function

Function/event handler, see Tracking options.

Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="season.topLists" data-sr-match-id="28933404"></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', 'season.topLists', {matchId: 28933404});
</script>
<div id="sr-widget"></div>