Click or drag to resize

ISportDataProviderGetCompetition Method

Gets a ICompetition representing the specified sport event in language specified by
C#
culture
or a null reference if the sport event with specified
C#
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#
ICompetition GetCompetition(
	URN id,
	URN sportId,
	CultureInfo culture = null
)

Parameters

id  URN
A URN specifying the sport event to retrieve
sportId  URN
A URN of the sport this event belongs to
culture  CultureInfo  (Optional)
A CultureInfo specifying the language or a null reference to use the languages specified in the configuration

Return Value

ICompetition
A ICompetition representing the specified sport event or a null reference if the requested sport event does not exist
See Also