Description
Returns the stages played in the seasons.
Package
This method is included in the STATISTICS package.
Parameters
Name | Type | Description |
---|---|---|
username | xsd:string | REQUIRED. Assigned to you by softnetSPORT administrator |
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 |
season_id | xsd:string | Determines season to which stages belongs. softnetSPORT API provides the following seasons: seasons.index |
timestamp | timestampxsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only changes in seasons or stages which occured or was updated after this timestamp will be returned. |
Method calling examples
Link | Description |
---|---|
https://api.softnetsport.com/v2/stages.xml?username=softnetsport | Returns the list of stages in XML format |
https://api.softnetsport.com/v2/stages?username=softnetsport | Returns the list of stages in JSON format |
https://api.softnetsport.com/v2/stages.xml?username=softnetsport&season_id=2212 | Returns the stages played in the season Primera Division 2014/15 |
Output elements
.stage | |
---|---|
id | Unique identifier for the stage |
name | Name of the stage |
start_date | Date when stage begins. Format YYYY-MM-DD |
end_date | Date when stage ends. Format YYYY-MM-DD |
season_id | Unique identifier for the season to which stage belongs |
show_table | Determines if the stage contains a table. Possible values:
|
groups_nr | The amount of groups that are part of the stage |
sort | The sort order for the stage. Sorting direction is ascending |
is_current | Possible values:
|
ut | Information about date and time when record was last updated. Format YYYY-MM-DD HH:MM:SS. UTC timezone. |