Click or drag to resize

ISportDataProviderGetCompetitorAsync Method

Asynchronously gets a ICompetitor

Namespace: Sportradar.OddsFeed.SDK.API
Assembly: Sportradar.OddsFeed.SDK.API (in Sportradar.OddsFeed.SDK.API.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
Task<ICompetitor> GetCompetitorAsync(
	URN id,
	CultureInfo culture = null
)

Parameters

id  URN
A URN specifying the id for which ICompetitor to be retrieved
culture  CultureInfo  (Optional)
A CultureInfo specifying the language or a null reference to use the languages specified in the configuration

Return Value

TaskICompetitor
A ICompetitor representing the specified competitor or a null reference
See Also