Resource information
URL | https://api.softnetsport.com/v2/standings/{standing_id} |
---|---|
XSD | https://api.softnetsport.com/assets/API/docs/xsd/standings.show.xsd |
Method | GET |
Description | Returns the single standings data |
Package | This resource is included in the STATISTICS packages |
Cache | |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
standing_id | xsd:int | REQUIRED. The requested standing identifier |
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 |
subparticipant_id | xsd:int | Determines unique subparticipant id. Could be neccessary to show i.e. top scorers from the single team |
Method calling examples
Link | Description |
---|---|
https://api.softnetsport.com/v2/standings/21.xml?token={{YOUR_TOKEN}} | Returns the selected standings in XML format |
https://api.softnetsport.com/v2/standings/21?token={{YOUR_TOKEN}} | Returns the selected standings in JSON format |
Output elements
.standings | |
---|---|
id | Unique identifier for the standings |
name | Name of the standings |
sport_id | Unique identifier of the sport in which standings occures. softnetSPORT API provides the following sports: sports.index |
sport_name | Name of the sport |
type_name | Name of standings type. i.e. Standings table, Top scorers, Cards |
subtype | Name of subtype of standings. Possible values:
|
object_id | Unique identifier for object selected in the object_type |
object_type | Type of object (kind of scope) for which data are generated. Possible values:
|
object_name | Name for selected object i.e. European Championship (competition_season), Premier League (competition_season), FC Barcelona (team), Relegation Round (stage), FC Barcelona - Manchester United (event) |
ut | Information about date and time when the record was last updated. Format UNIX_TIMESTAMP |
..groups | |
...group | |
id | Unique identifier for group. Could be empty value |
name | Name of the group. Could be empty value |
ut | Information about date and time when the group record was last updated. Format UNIX_TIMESTAMP |
....participants | |
.....participant | |
id | Unique identifier for participant |
name | Name of participant |
area_id | Area idetifier of participant |
area_name | Area name of participant |
rank | Present rank, place in standings |
last_rank | Last rank, place in standings |
zone_name | Standings zone name |
subparticipant_id | Participant team identifier (could be empty) |
subparticipant_name | Participant team name (could be empty) |
.....columns | |
......column | |
id | Identifier of the columns/stats |
name | Name of the column (title) |
value | Value of the column for the single participant |
....corrections | |
.....correction | |
participant_id | Identifier of the participant |
participant_name | Name of the participant |
value | Correction value, i.e. "+2" |
....zones | |
.....zone | |
name | Name of the zone |
colour | The CSS colour for the zone |