Widget Docs
Coverage MatrixDocumentationRelease LogLog InContact Us

Player Info

us.player.soccer.Info displays key information about a particular player such as age, height, and preferred foot. The widget also displays live match information (when available), including number of goals scored, assists, cards, conversion rate and minutes played.

For the widget to render you must provide a valid playerId and teamUid. All other properties are optional.

Parameters

Name Type Description
props object properties
Name Type Argument Default Description
playerId number required Player ID
seasonId number optional Season ID
uniqueTournamentId number optional Unique Tournament ID
teamUid number required Unique Team ID
disableWidgetHeader boolean optional false If true hides the widget header.
disablePlayerHeader boolean optional false If true hides the player header.
disableAttack boolean optional false If true hides the attack info.
disableAppearances boolean optional false If true hides the appearances info.
disableOffense boolean optional false If true hides the offense info.
disableProfileInfo boolean optional false If true hides the profile info.
border boolean optional If true draws a border around the widget.

Examples

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