Click or drag to resize

ISportDataProviderV2GetListOfSportEventsAsync Method

Asynchronously gets a list of IEnumerableT

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<IEnumerable<ICompetition>> GetListOfSportEventsAsync(
	int startIndex,
	int limit,
	CultureInfo culture = null
)

Parameters

startIndex  Int32
Starting record (this is an index, not time)
limit  Int32
How many records to return (max: 1000)
culture  CultureInfo  (Optional)
A CultureInfo specifying the language or a null reference to use the languages specified in the configuration

Return Value

TaskIEnumerableICompetition
A TaskTResult representing the async operation
Remarks
Lists almost all events we are offering prematch odds for. This endpoint can be used during early startup to obtain almost all fixtures. This endpoint is one of the few that uses pagination.
See Also