Resource information
URL | https://api.softnetsport.com/v2/feed |
---|---|
XSD | https://api.softnetsport.com/assets/API/docs/xsd/feed.index.xsd |
Method | GET |
Description | Returns incidents generated by the scouts for all events in the last 24 hours |
Cache | 0 seconds |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
There are no method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
token | xsd:string | REQUIRED. More information concerning 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 50. Possible values: 5, 10, 25, 50, 100, 250, 500 |
timestamp | xsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only incidents that occurred or were updated after this timestamp will be returned. By default (if no parameter given) incidents from last 24 hours. |
timestamp_to | xsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only incidents that occurred before this timestamp will be returned. |
important_for_trader | xsd:string | Determines type of incidents (if it's important for trader). By default all types are included.
|
sport_id | xsd:int | Identifier of the sport. Allows incidents for the selected sport to be filtered |
type | 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.softnetsport.com/v2/feed.xml?token={{YOUR_TOKEN}} | Returns all event incidents from the last 24 hours in XML format |
https://api.softnetsport.com/v2/feed?token={{YOUR_TOKEN}} | Returns all event incidents from the last 24 hours in JSON format |
https://api.softnetsport.com/v2/feed.xml?token={{YOUR_TOKEN}}&sport_id=1 | Returns all event incidents from the last 24 hours for basketball events |
Output elements
participants
participant in the event. Participant with counter="1" is the home team, "2" is the away team | |
id | Unique identifier of the participant |
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. Possible values are different depending on the sport |
value | Value related to the results |
......stats | |
.......stat | |
id | Unique identifier for the statistic. Possible values are different depending on the sport |
value | Value related to the statistic |
......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 |