Resource information
URL | https://api.softnetsportstatscore.com/v2/feed/{event_id} |
---|---|
XSD | https://api.softnetsport.com/assets/API/docs/xsd/feed.show.xsd |
Method | GET |
Description | Returns all incidents from a single event. |
Package | This resource is included in the SCOUTSFEED package |
Cache | 0 seconds |
Authorization required | Yes |
...
Name | Type | Description |
---|---|---|
event_id | xsd:int | REQUIRED. The requested event identifier |
...
Query parameters
Link | Description | |
---|---|---|
Name | Type | Description |
token | xsd:string | REQUIRED. More information concerning oAuth token: oAuth 2.0 authorization authorization in API introduction section |
page | xsd:int | Determines offset of paginated data. Default value is 1 which means first page. |
limit | xsd:int | Determines maximum number of returned records on page. Used in paginated data. Default value is 500. Possible values: 5, 10, 25, 50, 100, 250, 500 |
important | xsd:string | Determines if incident is important e.g. goals, cards, substitution. By default all types are included. Allowed values:
|
important_for_trader | xsd:string | Determines the type of incidents (if they are important for the trader). By default all types are included.
|
timestamp | xsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only incidents that occurred after this timestamp will be returned. |
timestamp_to | xsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only incidents that occurred before this timestamp will be returned. |
Method calling examples
https://api.softnetsport.com/v2/feed/6367.xml?token={{YOUR_TOKEN}} | Returns all incidents from the last 24 hours for the selected event in XML formattype | xsd:string | Determines type of message
|
incident_ids | xsd:string | List of incidents type identifiers separated by a comma (e.g. 123,234,321) for which you want to get the incident details. | |
status_id | xsd:int | Determines the event status identifier. |
Method calling examples
Link | Description |
---|---|
https://api.softnetsportstatscore.com/v2/feed/6367?token={{YOUR_TOKEN}} | Returns all incidents from the last 24 hours for the selected event in JSON format |
Output elements
.messagesfeed | .. | |
---|---|---|
id | Unique identifier for the message | |
uuid | id | Universally Unique identifier Identifier for the massage. Note: for certain messages, such as updates to a previous, related message, the UUID may be the same. This intentional duplication allows clients to establish correlations between messages, aiding in tracking updates or related data across a system. |
type | Possible value:
| |
source | Internal attribute, please dont use this attribute | |
ut | Information about the date and time of when the message was created. Format UNIX_TIMESTAMP. | |
...data | ||
....incident | node available only if message type is incident | |
id | incident_id | Identifier for the incident. softnetSPORT API provides the following incidents: incidents.indexUnique identifier for the incident occurred in the event |
action | Describes type of scout operation for the incident. Possible values:
| |
incident_id | Identifier for the incident | |
incident_name | Name of the incident. e.g. goal, yellow card, red card etc. | |
attribute_ids | Attributes identifiers related to incident, separated by a comma (e.g. [397, 398]) | |
confirmation | Describes confirmation status for the incident. Possible values:
| |
participant_id | Unique identifier for participants name (player, team or coach) related to incident. softnetSPORT API provides the following participants: participants.index | |
participant_name | Participants name (player, team or coach) related to incident. | |
subparticipant_id | Team id for which the player or coach is part of. softnetSPORT API provides the following subparticipants: participants.indexof | |
subparticipant_name | Team name for which the player or coach is part of | |
info | Internal attribute, please dont use this attribute | |
important_for_trader | Possible values:
| |
important | Internal attribute, please dont use this attribute | |
add_data | Internal attribute, please dont use this attribute | |
show_popup | Internal attribute, please dont use this attribute | |
show_scores | Internal attribute, please dont use this attribute | |
show_action | Describes type of scout operation for the incident. Possible values:
| |
....event | ||
id | Identifier of the event | Internal attribute, please dont use this attribute |
show_time | Internal attribute, please dont use this attribute | |
show_on_timeline | Internal attribute, please dont use this attribute | |
event_time | Information when the incident occurs in format MM:SS | |
event_status_id | Unique identifier of the event status | |
event_status_name | Name of the event status | |
period_timer | Informations regarding game clock | |
direction | Contains information about timer direction. Possible values:
| |
time | Time in sync with the game clock | |
x_pos | Ball position on X axis (percents) | |
y_pos | Ball position on Y axis (percents) | |
additional_info | Contains additional information:
| |
...event | ||
id | Identifier of the event | |
action | Describes type of operation for the event. Possible values:
| |
name | Name of the event | |
start_date | Start date for the event in format: YYYY-MM-DD hh:mm | |
ft_only | Determines when the result/score of the event is updated. Possible values:
| |
coverage_type | Type of event coverage. Possible values:
| |
status_id | Unique identifier of the event status. softnetSPORT API provides the following statuses: statuses.index | |
sport_id | Identifier of the sport which the event is played. softnetSPORT API provides the following sports: sports.index | |
round_id | Unique identifier for the round in which event is played. Possibble null value. softnetSPORT API provides the following rounds: rounds.index | |
round_name | Name of the round. Possible null value. | |
day | Day of the season | |
neutral_venue | Determines if event is played at a neutral venue. Possible values:
| |
item_status | Describes status of the item (record). Possible values:
| |
clock_time | Number of seconds passed in the current period | |
clock_status | Clock status. Possible value:
| |
area_id | Identifier for the area in which competitions are played | |
competition_id | Unique identifier for the competition. softnetSPORT API provides the following competitions: competitions.indexcompetition | |
season_id | Unique identifier for the season. | |
stage_id | Unique identifier for the stage | |
tour_id | Unique identifier for the tour in which competition is played. softnetSPORT API provides the following tours: tours.indexplayed | |
gender | Competition gender. Possible values:
| |
bet_status | Bet status. Possible values:
| |
bet_cards | Changed when there is a possibility of a card. Possible value:
| |
bet_corners | Changed when there is a possibility of a corner. Possible value:
| |
relation_status | Relation status. Attribute for internal purposes. Possible value:
| |
status_type | Type of the status. | details Possible values:
|
scoutsfeed | Information concerning scouts coverage. Possible values:
| |
latency | Information about the expected latency. Possible values:
| |
event_stats_level | Internal information, please do not use this field | |
verified_result | Possible value:
| |
is_coverage_limited | Determines if event has limited information about players statistics | |
played_time | Only for soccer. Number of seconds passed in the current period, including additional time | |
.....details | ||
......detail | ||
id | Unique identifier for the detail. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.showsport | |
value | Value related to the detail | |
.....participants | ||
......participant | ||
counter | Number of participans in the event. Participant with counter="1" is the home team, "2" is the away team | |
id | Unique identifier of the participant. softnetSPORT API provides the following subparticipants: participants.indexparticipant | |
......stats | ||
.......resultsstat | ||
id | Unique identifier for the resultstatistic. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show | |
value | Value related to the resultsstatistic | |
......statsThe stats node is filled only at the moment when some changes were made in this node. This nodes are always returned, but sometimes can include an empty array.results | ||
.......result | ||
id | Unique identifier for the statisticresult. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.showthe sport | |
value | Value related to the results | |
event_status_stats | Sending only with incidents ending the previous part of the game. Contains statistics from previous part of the game | |
......subparticipants | ||
.......subparticipant | ||
id | Unique identifier of the participant | |
counter | Number of subparticipant in the event | |
name | Participants name | |
short_name | Participants abbreviated name, max length: 20 characters | |
acronym | Max 3 characters in length mini name, e.g. BAR, REA | |
area_id | Unique identifier for the area represented by the participant | |
area_name | Area name represented by the participant | |
area_code | Max 3 characters in length for 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 | |
........results | ||
.........result | ||
id | Unique identifier for the result | |
value | Value related to the result | |
........stats | ||
.........stat | ||
id | Unique identifier for the statistic | |
value | Value related to the statistic | |
.........betting | ||
.........bet_statuses | ||
name | Internal information, please do not use this node | |
value | Internal information, please do not use this node |