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 |
---|---|---|
standing_id | xsd:int | REQUIRED. The requested standing identifier |
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 |
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?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 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 |
..group | |
id | Unique identifier for group. Could be empty value |
name | Name of the group. Could be empty value |
...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 | |
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 |