Betting Entertainment Tools

Team Info

A team.info brings key information about a particular team such as name and capacity of the home stadium, the jersey colors, squad averages (average age, height and weight of players), team's top scorer, team's current form and conversion rate.

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

  1. teamUid and seasonId
  2. teamUid and tournamentId
  3. teamUid and uniqueTournamentId.
Parameters
Name Type Attributes Default Description
props object <required>
teamUid number <required>

Unique Team id.

seasonId number <required>

Season Id.

tournamentId number <required>

Tournament Id.

uniqueTournamentId number <required>

Unique Tournament Id.

disableWidgetHeader boolean false

When set to true, hides widget header.

disableMatchHeader boolean false

When set to true, hides match header.

disableTeamInfoAverages boolean false

When set to true, hides team info averages.

disableScorer boolean false

When set to true, hides top scorer.

disableSquadAverages boolean false

When set to true, hides squad averages.

disableTeamTablePosition boolean false

When set to true, hides team table position.

onTrack function

Function/event handler, see Tracking options.

Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="team.info" data-sr-team-uid="35" data-sr-unique-tournament-id="17"></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', 'team.info', {teamUid: 35, uniqueTournamentId: 17});
</script>
<div id="sr-widget"></div>