| ISportDataProviderGetSportAsync Method |
Asynchronously gets a
ISport instance representing the sport specified by it's id in the language specified by
, or a null reference if sport with specified id does not exist
Namespace: Sportradar.OddsFeed.SDK.APIAssembly: Sportradar.OddsFeed.SDK.API (in Sportradar.OddsFeed.SDK.API.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax 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
TaskISportA
TaskTResult representing the async operation
See Also