This type of message is sent when changes are made in the event e.g. stats were edited/corrected or event start date was changed etc.
Message example:
Code Block | ||
---|---|---|
| ||
{ "id": 412288068, "ls_id": 5684905, "uuid": "5bf31c86-594d-4e48-b9e0-e4485f52e3c7", "type": "event", "source": 1148, "ut": 1611574231, "data": { "event": { "id": 3755129, "action": "update", "start_date": "2021-01-02 17:30", "ft_only": "no", "coverage_type": "from_tv", "status_id": 33, "status_name":"1st half", "sport_id": 5, "sport_name":"Soccer", "day": 17, "neutral_venue": "no", "item_status": "active", "clock_time": 1, "clock_status": "running", "area_id": 70, "competitionarea_idname": 1507,"Spain" "seasoncompetition_id": 464461507, "stagecompetition_idname":"LaLiga 108896Santander", "groupseason_id": null46446, "tourstage_id": null108896, "genderstage_name": "maleRegular season", "betgroup_statusid": "suspended"null, "bettour_cardsid": "suspended"null, "bettour_cornersname": "suspended"null, "relation_statusgender": "not_startedmale", "bet_status_type": "livesuspended", "namebet_cards": "Getafe CF - Real Valladolidsuspended", "roundbet_idcorners": 17"suspended", "roundrelation_namestatus": "Round 17not_started", "scoutsfeedstatus_type": "yeslive", "event_stats_lvlname": "goldGetafe CF - Real Valladolid", "verifiedround_resultid": "no"17, "detailsround_name": ["Round 17", { "scoutsfeed": "yes", "idlatency": 8, "3-6s", "valueevent_stats_lvl": null }"gold", "event_stats_lvl_live": "gold", { "event_stats_lvl_after": "gold", "idverified_result": 19, "no", "valueis_coverage_limited": "2021-01-25 11:30"no", },"played_time": null, "details": [ { "id": 2278, "value": null } ], "participants": [ { "id": 13692919, "countervalue": 1, "2021-01-25 11:30:29" "name": "Getafe Club de Futbol, S.A.D.",}, { "short_nameid": "Getafe CF"227, "acronymvalue": "GET",null } "area_id": 70, ], "area_nameparticipants": "Spain",[ { "area_code": "ESP", "utid": 1602906642136929, "typecounter": "team"1, "statsname": ["Getafe Club de Futbol, S.A.D.", { "short_name": "Getafe CF", "idacronym": 8"GET", "value"area_id": 070, }"area_name": "Spain", "area_code": "ESP", { "ut": 1602906642, "idtype": 716, "team", "valuestats": null[ },{ { "id": 7778, "value": 0 }, ], "results": [ { "id": 2716, "value": 0null }, { "id": 412777, "value": 0 } ], "subparticipantsresults": [] }, { { "id": 1369352, "countervalue": 2,0 "name": "Real Valladolid}, Club de Futbol, S.A.D.", { "short_name": "Real Valladolid", "acronymid": "VAL",412, "area_idvalue": 0 70, "area_name": "Spain", } "area_code": "ESP",], "utsubparticipants": 1477213104,[] "type": "team"}, "stats": [{ { "id": 136935, "idcounter": 82, "valuename": 0"Real Valladolid Club de Futbol, S.A.D.", }, "short_name": "Real Valladolid", { "acronym": "VAL", "area_id": 71670, "valuearea_name": null"Spain", }"area_code": "ESP", "ut": 1477213104, { "type": "team", "id": 777, "stats": [ "value": 0 { } "id": 8, ], "resultsvalue": [0 {}, { "id": 2, "valueid": 0716, "value": null }, { "id": 412777, "value": 0 } ], "subparticipantsresults": [] } { ] } } } |
Message structure details:
...
.message
...
id
...
Unique identifier for the message
...
uuid
...
Universally unique identifier
...
type
...
event
...
source
...
Internal attribute, please do not use this attribute
...
ut
...
Information about the date and time of when the message was created. Format UNIX_TIMESTAMP.
...
..data
...
...event
...
id
...
Identifier of the event
...
action
...
Describes type of operation for the event. Possible values:
insert - new event generated
update - event was updated
delete - event was deleted
...
start_date
...
Start date for the event in format: YYYY-MM-DD hh:mm
...
ft_only
...
Determines if only the full time result/score of the event is given. Possible values:
yes - result/score is updated only when the event is finished
no - result/score is updated during the event
...
coverage_type
...
Type of event coverage. Possible values:
from_venue - means the scout is relaying the event directly from the stadium (max. latency 1 second)
from_tv - means the scout is relaying the event from tv transmission (max. latency 8 seconds)
basic - for this type of coverage we don't provide detailed event incidents (max. latency around 60 seconds)
...
status_id
...
Unique identifier of the event status. The list of available statuses you can find in API service method: statuses.index
...
sport_id
...
"id": 2,
"value": 0
},
{
"id": 412,
"value": 0
}
],
"subparticipants": []
}
]
}
}
} |
Message structure details:
.message | |
---|---|
id | Unique identifier for the message |
uuid | Universally Unique Identifier for the massage. |
type | event |
source | Internal attribute, please do not use this attribute |
ut | Information about the date and time of when the message was created. Format UNIX_TIMESTAMP. |
..data | |
...event | |
id | Identifier of the event |
ls_id | For internal purposes |
action | Describes type of operation for the event. Possible values:
|
start_date | Start date for the event in format: YYYY-MM-DD hh:mm:ss |
ft_only | Determines if only the full time result/score of the event is given. Possible values:
|
coverage_type | Type of event coverage. Possible values:
|
status_id | Unique identifier of the event status. The list of available statuses you can find in API service method: statuses.index |
status_name | Name of the status |
sport_id | Identifier for the sport in which the event is played. The list of available sports you can find in API service method: sports.index |
sport_name | Name of the sport |
day | Day of the season. This attribute is deprecated and will no longer used |
neutral_venue | Determines if event is played at a neutral venue. Possible values:
|
item_status | Describes status for the item (record). Possible values:
|
clock_time | Number of seconds that have passed in the current period |
clock_status | Clock status. Possible value:
|
area_id | Identifier for the area in which the competitions are played |
area_name | Name of the area |
competition_id | Unique identifier for the competition. The list of available competitions you can find in API service method: competitions.index |
competition_name | Name of the competition |
season_id | Unique identifier for the season. |
stage_id | Unique identifier for the stage |
stage_name | Name of the stage |
group_id | Unique identifier for the group |
tour_id | Unique identifier for the tour in which a competition is played. The list of available competitions you can find in API service method: |
tours.index |
neutral_venue
Determines if event is played at a neutral venue. Possible values:
yes
no
item_status
Describes status for the item (record). Possible values:
active - the record is active
deleted - the record was deleted by the admin. In the case of when an event was added by mistake
clock_time
Number of seconds that have passed in the current period
clock_status
Clock status. Possible value:
running
stopped
area_id
Identifier for the area in which the competitions are played
competition_id
Unique identifier for the competition. The list of available competitions you can find in API service method: competitions.index
season_id
Unique identifier for the season.
stage_id
Unique identifier for the stage
group_id
Unique identifier for the group
tour_id
Unique identifier for the tour in which a competition is played. sThe list of available competitions you can find in API service method: tours.index
gender
Competition gender. Possible values:
male
female
mixed
bet_status
Bet status. Possible values:
active
suspended
bet_cards
Booking market status. Possible values:
active
suspended
bet_corners
Corners market status. Possible values:
active
suspended
relation status
Relation status. Attribute for internal purposes. Possible value:
not_started - for an event that has not started
in_progress - for a live event
finished - for an event that has finished
30_min_left - scout confirms his ability to deliver the coverage 30 min before the event
5_min_left - scout confirms his ability to deliver the coverage 5 min before the event
status_type
Type of status. Possible values:
live
scheduled
finished
cancelled
interrupted
deleted
other
name
Name of the event
round_id
The list of available rounds can be found in the API service method: rounds.index. Possible null value
round_name
Name of the round. Possible null value
scoutsfeed
Informs about availability in the Scoutsfeed product. Possible values:
yes
no
event_stats_lvl
Informs about statistics level for this event. Possible values:
bronze
silver
gold
vip
verified_result
Informs that the result has been verified by an internal unit. Possible values:
yes
no
....details
id
Unique identifier for the event details e.g: 1st quarter start time, length of the period. Possible values are different depending on the sport.
value
Value related to the event detail
....participants
Only last changed participant will be sent in the message.
id
Unique identifier of the participant. The list of available participants you can find in API service method: participants.index
counter
Number of participants in the event. Participant with counter="1" is the home team, "2" is the away team
name
Participant name
short_name
Participants abbreviated name, max length: 20 characters
acronym
Max 3 characters in length mini name, e.g. BAR, REA
area_id
Determines the area represented by the participant. The complete list of possible areas can be retrieved using the API resource: areas.index
area_name
Area name represented by the participant
area_code
Max 3 characters in length of the abbreviated area name e.g. GER, POL, FRA
ut
Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP
type
Informs about the type of participant. Possible values:
person
team
double
tour_name |
Day of the season. This attribute is deprecated and will no longer used
Name of tour | |
gender | Competition gender. Possible values:
|
bet_status | Bet status. Possible values:
|
bet_cards | Booking market status. Possible values:
|
bet_corners | Corners market status. Possible values:
|
relation status | Relation status. Attribute for internal purposes. Possible value:
|
status_type | Type of status. Possible values:
|
name | Name of the event |
round_id | The list of available rounds can be found in the API service method: rounds.index. Possible null value |
round_name | Name of the round. Possible null value |
scoutsfeed | Informs about availability in the Scoutsfeed product. Possible values:
|
latency | Information about the expected latency. Possible values:
|
event_stats_lvl | Informs about statistics level for this event. Possible values:
|
verified_result | Informs that the result has been verified by an internal unit. Possible values:
|
is_coverage_limited | Informs, that the coverage is limited (reduced range of data related to players). Possible values:
|
played_time | Number of seconds that have passed including the additional time (only for soccer) |
....details | |
---|---|
id | Unique identifier for the event details e.g: 1st quarter start time, length of the period. Possible values are different depending on the sport. |
value | Value related to the event detail |
....participants | Only last changed participant will be sent in the message. |
id | Unique identifier of the participant. The list of available participants you can find in API service method: participants.index |
counter | Number of participants in the event. Participant with counter="1" is the home team, "2" is the away team |
name | Participant name |
short_name | Participants abbreviated name, max length: 20 characters |
acronym | Max 3 characters in length mini name, e.g. BAR, REA |
area_id | Determines the area represented by the participant. The complete list of possible areas can be retrieved using the API resource: areas.index |
area_name | Area name represented by the participant |
area_code | Max 3 characters in length of the abbreviated area name e.g. GER, POL, FRA |
ut | Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP |
type | Informs about the type of participant. Possible values:
|
.....results | |
id | Unique identifier for the result. Possible values are different depending on the sport. For more information please find node details in the sports.show API method |
value | Value related to the results |
.....stats | |
id | Unique identifier for the statistic. Possible values are different depending on the sport. For more information please find node details in the sports.show API method |
value | Value related to the statistic |
…..event_status_stats | Only for specific incidents. Description below the table |
id | Unique identifier for the statistic. Possible values are different depending on the sport. For more information please find node details in the sports.show API method |
value | Value related to the statistic |
.....subparticipants | |
id | Unique identifier of the subparticipant. |
......results | |
id | Unique identifier for the result. Possible values are different depending on the sport. For more information please find node details in the sports.show API method |
value | Value related to the results |
......stats | |
id | Unique identifier for the statistic. Possible values are different depending on the sport. For more information please find node details in the sports.show API method |
value | Value related to |
.....subparticipants
id
Unique identifier of the subparticipant.
......results
id
Unique identifier for the result. Possible values are different depending on the sport. For more information please find node details in the sports.show API method
value
Value related to the results
......stats
id
Unique identifier for the statistic. Possible values are different depending on the sport. For more information please find node details in the sports.show API method
value
the statistic |
Info | ||
---|---|---|
Structure of data- example:
Where “33” is the ID of the specific part of the game for which the statistics have been splitted. Splitted stats are available for these sports:
|