Resource information
URL | https://api.softnetsport.com/v2/standings/{standing_id} |
---|---|
Method | GET |
Description | Returns the single standings data |
Package | This resource is included in STATISTICS packages |
Method parameters
Name | Type | Description |
---|---|---|
There are not method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
username | xsd:string | REQUIRED. Assigned to you by the softnetSPORT administrator |
lang | xsd:string | Determines language for the output data. softnetSPORT API provides the following languages: languages.index |
object_type | xsd:string | Determines object type. Possible values:
|
object_id | xsd:int | Determines object id which is unique identifier |
standing_type_id | xsd:int | Determines type of standings. softnetSPORT API provides the following standings types: standings-types.index |
participant_team_id | xsd:int | Determines unique participant id for team participants. 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?username=softnetsport | Returns the selected standings in XML format |
https://api.softnetsport.com/v2/standings/21?username=softnetsport | Returns the selected standings in JSON format |
Output elements
.standings | |
---|---|
id | Unique identifier for standings |
type_id | Unique identifier for standings type |
type_name | Name of standings type. i.e. Standings table, Top scorers, Cards |
object_id | Unique identifier for object selected in 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 | |
..group | |
id | Unique identifier for group. Could be empty value |
name | Name of the group. Could be empty value |
...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 |
participant_membership_id | Participant team identifier (could be empty) |
participant_membership_name | Participant team name (could be empty) |
....columns | |
.....column | |
name | Name of the column (title) |
value | Value of the column for single participant |
....corrections | |
.....correction | |
participant_id | Identifier of participant |
participant_name | Name of participant |
value | Correction value, i.e. "+2" |
....zones | |
.....zone | |
name | Name of the zone |
colour | The CSS colour for the zone |