Resource information
...
a list of all available statuses for events from all |
...
Package
This method is included all packages.
...
sports |
Cache | 60 seconds |
---|
Authorization required | Yes |
---|
Method parameters
Name | Type | Description |
---|
There are no method parameters in this resource |
Query parameters
| | |
---|
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section |
lang | xsd:string | Determines language for the output data. |
Possible values: en, pl The complete list of possible languages can be retrieved using the API resource: languages.index
|
page | xsd:int | Determines |
maximum number of returned records. Used in offset of paginated data. Default value is |
5001 which means first page |
limit | xsd:int |
Determines offset of Determines maximum number of returned records on page. Used in paginated data. Default value is |
0 5 5, 10, 25, 50, 100, 250, 500 |
sport_id | xsd:int | REQUIRED. Identifier of the sport. Allows |
to the filter status for selected sport. The complete list of possible sports can be retrieved using the API resource: sports.index |
| | |
---|
Output
The output contains status which may occur in events.
...
timestamp | xsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only changes that occured or were updated after this timestamp will be returned |
Method calling examples
...
linkresult descriptionsoftnetsportstatus.xmlreturns list of all status | https://api.softnetsport.com/v2/status.xml?1returns status used in basketballall statuses for soccer in JSON format |
Output elements
|
---|
|
---|
id | Unique identifier for the status | name | Name of the status. Possible translation of the attribute | short_name |
|
Shorter Abbreviated name of the status. Max 10 characters. Possible translation of the attribute | type | Type of status. |
|
Value can be: "live", "scheduled", "finished", "cancelled", "interrupted", "deleted", "other". | status for eventsPossible values: - live
- scheduled
- finished
- cancelled
- interrupted
- deleted
- other
| ut | Information about when the date and time of the record was last updated. Format UNIX_TIMESTAMP |
|