Click or drag to resize

ISportDataProvider Interface

Defines a contract implemented by classes used to provide sport related data (sports, tournaments, sport events, ...)

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#
public interface ISportDataProvider

The ISportDataProvider type exposes the following members.

Methods
 NameDescription
Public methodDeleteCompetitorFromCache Delete the competitor from cache
Public methodDeletePlayerProfileFromCache Delete the player profile from cache
Public methodDeleteSportEventFromCache Delete the sport event from cache
Public methodDeleteTournamentFromCache Delete the tournament from cache
Public methodGetCompetition 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
Public methodGetCompetitorAsync Asynchronously gets a ICompetitor
Public methodGetLiveSportEventsAsync Asynchronously gets a IEnumerableT representing currently live sport events in the language specified by
C#
culture
Public methodGetPlayerProfileAsync Asynchronously gets a IPlayerProfile
Public methodGetSportAsync 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
Public methodGetSportEventsByDateAsync Asynchronously gets a IEnumerableT representing sport events scheduled for date specified by
C#
date
in language specified by
C#
culture
Public methodGetSportEventStatusAsync Asynchronously gets a ICompetitionStatus for specific sport event
Public methodGetSportsAsync Asynchronously gets a IEnumerableT representing all available sports in language specified by the
C#
culture
Public methodGetTournament Gets a ILongTermEvent representing the specified tournament in language specified by
C#
culture
or a null reference if the tournament with specified
C#
does not exist
Top
See Also