Widgets.us.team.soccer.TeamInfo

us.team.soccer.teamInfo 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.

new TeamInfo(props)

Parameters
Name Type Description
props object
Properties
Name Type Argument Default Description
teamUid number

Unique Team id.

seasonId number

Season Id.

tournamentId number

Tournament Id.

uniqueTournamentId number

Unique Tournament Id.

disableWidgetHeader boolean <optional>
false

When set to true, hides widget header.

disableMatchHeader boolean <optional>
false

When set to true, hides match header.

disableTeamInfoAverages boolean <optional>
false

When set to true, hides team info averages.

disableScorer boolean <optional>
false

When set to true, hides top scorer.

disableSquadAverages boolean <optional>
false

When set to true, hides squad averages.

disableTeamTablePosition boolean <optional>
false

When set to true, hides team table position.

border boolean <optional>

When set to true, draws border around widget.

Examples

HTML/Declarative

<div class="sr-widget" data-sr-widget="us.team.soccer.teamInfo" data-sr-team-uid="305920" data-sr-season-id="62475"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/uscommon/widgetloader" data-sr-language="en_us" 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.media.sportradar.com/uscommon/widgetloader","USW", {
        language: 'en_us'
    });
    USW('addWidget', '#sr-widget', 'us.team.soccer.teamInfo', {teamUid: 305920, seasonId: 62475});
</script>
<div id="sr-widget"></div>