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 single standings data |
Cache | 60 seconds |
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 authorization in API introduction section |
lang | xsd:string | Determines language for the output data |
subparticipant_id | xsd:int | Determines unique subparticipant id. Could be neccessary to show e.g. top scorers from a single team |
participant_id | xsd:string | List of participant identifiers separated by a comma (e.g. 123,234,321) for which you want to get results. |
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 for the sport in which the standings occurres |
sport_name | Name of the sport |
type_name | Name of standings type. e.g. 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 is generated. Possible values:
|
object_name | Name of selected object e.g. European Championship (competition_season), Premier League (competition_season), FC Barcelona (team), Relegation Round (stage), FC Barcelona - Manchester United (event) |
ut | Information about the date and time of 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 the date and time of when the group record was last updated. Format UNIX_TIMESTAMP |
....participants | |
.....participant | |
id | Unique identifier for participant |
name | Name of participant |
area_id | Area identifier for participant |
area_name | Area name for participant |
rank | Present position, place in standings |
last_rank | Last position, place in standings |
zone_name | Standings zone name |
subparticipant_id | Participants team identifier (could be empty) |
subparticipant_name | Participants team name (could be empty) |
subparticipant_slug | Friendly url for the subparticipant (could be empty) |
participant_slug | Friendly url for the participant |
.....columns | |
......column | |
id | Identifier for the columns/stats |
name | Name of the column (title) |
short_name | Abbreviated name of the column (title) |
value | Value of the column for a single participant |
....corrections | |
.....correction | |
participant_id | Identifier for the participant |
participant_name | Name of the participant |
value | Correction value, e.g. "+2" |
....zones | |
.....zone | |
name | Name of the zone |
colour | The CSS colour for the zone |