subscribeToBetslipEventsWithGame
Subscribes to single game updates filtered by game id, optionally can be filtered by market and event. Method returns game data fields.
Documentation
Try it now
Request parameters:
Call example:
subscribeToBetslipEventsWithGame({
gameId: 3
})Response examples:
{
subid: '-8937478522411715326',
data: {
game: {
'29477622': {
sport: {
type: 2
},
id: 29477622,
team1_reg_name: 'US',
team2_reg_name: 'US',
info: {
current_game_state: 'notstarted',
score1: '0',
score2: '0',
pass_team: 'team1',
set_count: 3,
shirt1_color: '000000',
shirt2_color: '000000',
short1_color: '000000',
short2_color: '000000',
field: 0
},
stats: {
score_set1: {
team1_value: 0,
team2_value: 0
},
score_set2: {
team1_value: 0,
team2_value: 0
},
score_set3: {
team1_value: 0,
team2_value: 0
},
ace: {
team1_value: 0,
team2_value: 0
},
double_fault: {
team1_value: 0,
team2_value: 0
}
},
is_live: 0,
start_ts: 1776179100,
_parent_id: 1228,
team1_name: 'Fabian Marozsan',
team2_name: 'Stefanos Tsitsipas',
is_blocked: 0,
sport_alias: 'Tennis',
region_alias: 'Germany',
markets_count: 26,
visible_in_prematch: 0,
market: {
'2221129563': {
id: 2221129563,
name: 'Vencedor do jogo',
type: 'P1P2',
order: 300000,
cashout: 1,
sequence: 0,
col_count: 2,
group_name: 'Partida',
group_order: 2,
market_type: 'MatchResult',
market_type_id: 5498,
point_sequence: 0,
event: {
'6610412748': {
id: 6610412748,
price: 1.58,
name: 'W2',
type_1: 'W2'
}
}
}
}
}
}
},
hasError: false,
error: '',
rid: 374869239
}