Resource information
URL | https://api.softnetsport.com/v2/standings-types |
---|---|
XSD | https://api.softnetsport.com/assets/API/docs/xsd/standings-types.index.xsd |
Method | GET |
Description | Returns standings types |
Package | This resource is included in STATISTICS packages |
Cache | 60 seconds |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
There are not method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
token | xsd:string | REQUIRED. More information concerning oAuth token: oAuth 2.0 authorization |
lang | xsd:string | Determines language for the output data. softnetSPORT API provides the following languages: languages.index |
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 |
sport_id | xsd:int | REQUIRED. Identifier for sport which incident concern. softnetSPORT API provides the following sports: sports.index |
timestamp | timestampxsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only changes in tours which occured or was updated after this timestamp will be returned. |
Method calling examples
Link | Description |
---|---|
https://api.softnetsport.com/v2/standings-types.xml?token={{YOUR_TOKEN}}&sport_id=5 | Returns list of all standings types for soccer in XML format |
https://api.softnetsport.com/v2/standings-types?token={{YOUR_TOKEN}}&sport_id=5 | Returns list of all standings types for soccer in JSON format |
Output elements
.standings_types |
---|
..standings_type |
---|
id | Unique identifier for the standings type |
name | Name of the standings type |
ut | Information about date and time when the record was last updated. Format UNIX_TIMESTAMP |
...columns |
....column |
---|
id | Unique identifier for the column |
name | Name of the column |
short_name | Shorter name of the column |
code | Attribute for internal purpose |