Game StateInfo
The state info object is a property of liveblogs and events and contains the current state of the liveblog or event.
Tik::Model::GameMetaInfo::TimeBasedGameStateInfo
"state_info": {
"_type": "Tik::Model::GameStateInfo::TimeBasedGameStateInfo",
"check_time": 1578920400, // timestamp event occured
"check_seconds": 0, // seconds from beginning of current phase
"is_break": false,
"minute": 0, // minute of current phase - DEPRECATED
"recurrence": 1, // phase of current game state
"gamestate": 1 // current game state
}
Used for team sport templates like “Soccer”, “Handball” and “Icehockey”.
Soccer
gamestate and recurrence
gamestate = 0 : Pregame
gamestate = 1 : Game running
recurrence = 1, is_break = false : Half 1
recurrence = 1, is_break = true : Break half 1
recurrence = 2, is_break = false : Half 2
recurrence = 2, is_break = true : Break half 2
(for games with option num_regular_phases = 2)
recurrence = 3, is_break = false : Overtime 1
recurrence = 3, is_break = true : Break Overtime 1
recurrence = 4, is_break = false : Overtime 2
recurrence = 4, is_break = true : Break Overtime 2
gamestate = 2 : Shootout
gamestate = 31 : Postgame