Click or drag to resize

ILiveOddsCommonBaseGetEventList(NullableDateTime, NullableDateTime, Boolean) Method

Request meta-information about all events(matches, races, outcomes, ...) in a given interval. The maximum interval is 10 days. If no date is specified, all events started 24 hours in the past, and 7 days in the future are returned. The response message includes teams playing, event date and time, TV channel names and sport/category/tournament for every event.

Namespace: Sportradar.SDK.FeedProviders.LiveOdds.Common
Assembly: LiveOddsFeedProvider (in LiveOddsFeedProvider.dll) Version: 2.28.0.0
Syntax
C#
long GetEventList(
	DateTime? from,
	DateTime? to,
	bool include_available = false
)

Parameters

from  NullableDateTime
Start of time interval
to  NullableDateTime
End of time interval
include_available  Boolean  (Optional)
Include matches that are available for booking but not booked yet.

Return Value

Int64
Returns immediately with the request number or zero, but expect to receive OnMetaInfo event in response
See Also