Click or drag to resize

ISportDataProviderGetSportAsync Method

Asynchronously gets a ISport instance representing the sport specified by it's id in the language specified by
C#
culture
, or a null reference if sport with specified id does not exist

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<ISport> GetSportAsync(
	URN id,
	CultureInfo culture = null
)

Parameters

id  URN
A URN identifying the sport to retrieve.
culture  CultureInfo  (Optional)
A CultureInfo specifying the language or a null reference to use the languages specified in the configuration

Return Value

TaskISport
A TaskTResult representing the async operation
See Also