SSE EventChange Information - Saba-sports/OddsDirectAPI GitHub Wiki

[
   {
      eventId, 
      eventStatus,
      globalShowTime,
      hasLiveMarket,
      marketCount,
      marketCategories,
      gameInfo: {
          livePeriod,
          seconds,
          isNeutral,
          isHt,
          isBreak,
          isClosed,
          inJuryTime,
          gameStatus,
          inPlayTime,
          delayLive,
          liveHomeScore,
          liveAwayScore
      },
      soccerInfo: {
           homeRedCard,
           awayRedCard,
           homeYellowCard,
           awayYellowCard
       },
      tennisInfo: {
           homeGameScore,
           awayGameScore,
           homePointScore,
           awayPointScore,
           currentSet,
           currentServe
       },
       beachVolleyBallInfo:{
           homeGameScore,
           awayGameScore,
           currentSet,
           currentServe,
           playerInjury,
           isRain,
       },
       eSportInfo:{
           bestOfMap,
	   isStartingSoon,
	   moveBO3Down,
	   overTimeSession,
	   leagueGroup,
	   leagueGroupId
       },
       basketballInfo:{
	   homeGameScore,
	   awayGameScore,
	   latestLivePeriod,
	   homeOverTimeScore,
	   awayOverTimeScore
       },
       baseballInfo:{
           homeGameScore,
	   awayGameScore,
	   homeOverTimeScore,
	   awayOverTimeScore,
	   baseHasRunner,
           currentInning,
           currentBattingTeam,
           currentOuts
       },
       volleyballInfo:{
           homeGameScore,
	   awayGameScore,
	   homePointScore,
	   awayPointScore,
	   currentServe, 
	   homeCurrentPoint,
	   awayCurrentPoint,
	   playerInjury,
           lastestLivePeriod
       }
   }
]
Name Format Description
eventId int Specifies the identifier of the event.
eventStatus string Specifies the status of the event.
running/closed/postponed/ deleted
globalShowTime DateTime Specifies the start time for the event. (time zone GMT+0)
hasLiveMarket bool Specifies the event has a live market.
marketCount int Specifies the amount of markets for each event.
marketCategories int[] Specifies the categories of all markets for each event.
0: None
1: FullTime
2: Half
3: Corners /Bookings
4: Intervals
5: Specials
6: Players
7: FastMarket
8: Quarter
9: ExtraTime
10: Penalty
11-19: E-Sports Map 1-9
gameInfo GameInfo Specifies the information of the game.
soccerInfo SoccerInfo Specifies the information of the soccer.
tennisInfo TennisInfo Specifies the information of the tennis.
beachVolleyBallInfo BeachVolleyBallInfo Specifies the information of the beach volleyball.
eSportInfo ESportInfo Specifies the information of the E-Sport.
basketballInfo BasketballInfo Specifies the information of the Basketball.
baseballInfo BaseballInfo Specifies the information of the Baseball.
volleyballInfo VolleyballInfo Specifies the information of the Volleyball.

GameInfo

Name Format Description
livePeriod byte Specifies the current part of the game.
If the value is 0, the front end should not be displayed the time.
It means the game is at a special time.
seconds int Specifies the current game time in seconds.
isNeutral bool Specifies the game is neither hold in home nor away site.
isHt bool Specifies the event is in the half time interval.
isBreak bool Specifies the game is in break time.
isClosed bool Specifies the event has been closed
inJuryTime byte Specifies the injury time of the game.
delayLive bool Specifies whether the event is delaying.
gameStatus byte Specifies the status for the game.
1=PRC; 2=PPen; 3=VAR; 4=Penalty; 5=Injury; 6=Sudden Death
inPlayTime string Specifies the steps of the event is going.
liveHomeScore int Specifies the current score of home team.
liveAwayScore int Specifies the current score of away team.

SoccerInfo

Name Format Description
homeRedCard byte Specifies the number of red cards of Home’s.
awayRedCard byte Specifies the number of red cards of Away’s.
homeYellowCard byte Specifies the number of yellow cards of Home’s.
awayYellowCard byte Specifies the number of yellow cards of Away’s.

TennisInfo

Name Format Description
homeGameScore int[] Specifies the number of the point in a set, the Home player got.
awayGameScore int[] Specifies the number of the point in a set, the Away player got.
homePointScore string Specifies the Home’s point of current game.
awayPointScore string Specifies the Away’s point of current game.
currentSet int Specifies the current set.
currentServe int Specifies which team is current server.
0=No Current Serve, 1=home, 2=away

BeachVolleyBallInfo

Name Format Description
homeGameScore int[] Specifies the number of the point in a set, the Home player got.
awayGameScore int[] Specifies the number of the point in a set, the Away player got.
currentSet int Specifies the current set.
currentServe int Specifies which team is current server.
0=No Current Serve, 1=home, 2=away
playerInjury int Specifies which team is injury.
0=no one, 1=home, 2=away, 3=both
isRain bool Specifies whether the weather is raining.

ESportInfo

Name Format Description
bestOfMap int Specifies how many maps will be use.
isStartingSoon bool Specifies the competition is starting soon.
moveBO3Down bool Specifies to display a flag in web page.
overTimeSession int

Specifies the information of league.
1 → Dota2 ; 2 → LOL ; 3 → CS2 ; 4 → KOG ; 99 → Others

leagueGroup string Specifies the name of the league group.
leagueGroupId int Specifies the identifier of the league group.

BasketballInfo

Name Format Description
homeGameScore int[] Specifies the current score of home team.
awayGameScore int[] Specifies the current score of away team.
latestLivePeriod int Specifies current period
homeOverTimeScore int Specifies the current overtime score of home team.
awayOverTimeScore int Specifies the current overtime score of away team.

BaseballInfo

Name Format Description
homeGameScore int[] Specifies the current score of home team.
awayGameScore int[] Specifies the current score of away team.
homeOverTimeScore int Specifies the current overtime score of home team.
awayOverTimeScore int Specifies the current overtime score of away team.
baseHasRunner bool[] Specifies which base has runner.
First Item Indicates True If There's a Runner on First Base And So On
currentInning int Specifies current inning number
currentBattingTeam int Specifies Current Batting Team
1=Home,2=Away
currentOuts int Specifies current outs in batting team

VolleyballInfo

Name Format Description
homeGameScore int[] Specifies the number of the point in a set, the Home player got.
awayGameScore int[] Specifies the number of the point in a set, the Home player got.
homePointScore int Specifies Home Team Total Score
awayPointScore int Specifies Away Team Total Score
currentServe int Specifies which team is current server.
0=No Current Serve, 1=home, 2=away
homeCurrentPoint int Specifies home team score in current period
awayCurrentPoint int Specifies away team score in current period
playerInjury int Specifies which team is injury.
0=no one, 1=home, 2=away, 3=both
latestLivePeriod int Specifies current period
⚠️ **GitHub.com Fallback** ⚠️