sportradar / UnifiedOddsSdkNetCore

UnifiedFeed SDK is a client library that enables easier integration with the Betradar XML feeds. SDK exposes XML feed service interface in a more user-friendly way and isolates the client from having to do XML feed parsing, proper connection handling, error recovery, event queuing, data caching and dispatching.
https://sportradar.github.io/UnifiedOddsSdkNetCore/
Other
17 stars 14 forks source link

Can't find sport_event_status in IOddsChange<ISportEvent> class #16

Closed hotyes closed 2 years ago

hotyes commented 2 years ago

Hi, as the document here: https://docs.betradar.com/display/BD/UOF+-+Sport+event+status

the odds change message should has sport_event_status attribute, but it seems this SDK doesn't provide it. may I know how I can get sport_event_status from odds change message

dhrovat commented 2 years ago

You need to cast ISportEvent to appropriate class, like IMatch, IStage, ISoccerEvent and on there you can access SportEventStatus.