...
Name | Type | Description |
---|---|---|
username | xsd:string | REQUIRED. Assigned to you by softnetSPORT administrator |
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 |
sport_id | xsd:int | Determines sport to which season belongs. softnetSPORT API provides the following sports: sports.index |
competition_id | xsd:int | Determines competition to which competition belongs. softnetSPORT API provides the following competitions: competitions.index |
season_name | xsd:string | Determines the season name f.e 2014/15, 2015. softnetSPORT API provides the following seasons names: seasons_names.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/seasons.xml?username=softnetsport | Returns the list of seasons names in XML format |
https://api.softnetsport.com/v2/seasons?username=softnetsport | Returns the list of seasons names in JSON format |
https://api.softnetsport.com/v2/seasons.xml?username=softnetsport&competition_id=1507 | Returns the seasons played in the competition - Primera Division |
https://api.softnetsport.com/v2/seasons.xml?username=softnetsport&sport_id=5 | Returns the all competitions seasons played in soccer |
https://api.softnetsport.com/v2/seasons.xml?username=softnetsport&season_name=2014/15 | Returns the all competitions seasons played in the season 2014/15. |
Output elements
.competitions | |||
---|---|---|---|
..competition | |||
id | Unique identifier for competition | ||
name | Name of the competition i.e. | .stagestage details | comp_U19 World Champ. |
short_name | Shorter name of competition i.e. U19 WCH, Max 20 characters. | ||
mini_name | Max 3 characters length mini name i.e. U19 | ||
gender | Competition gender. Could be:
| ||
type | Competitions type. Could be:
| ||
start_date | Date when competition season begins. Format YYYY-MM-DD | ||
end_date | Date when competition season ends. Format YYYY-MM-DD | ||
is_current | If set "yes" means the stage is played. If "no" then stage has been played in the past or will be played in the future | ||
area_id | Unique identifier of area in which competitions are played. softnetSPORT API provides the following areas: areas.index | ||
area_name | Name of area in which competitions are played. | ||
area_type | Type of area in which competitions are played. Possible values:
| ||
area_sort | Numeric value indicating the order within area in which competitions are played. I.e. Premier League is 1st and the Championship League is 2nd in English competitions | ||
area_code | Max 3 characters length of area in which competitions are played. | ||
overall_sort | Numeric value indicating the order within global competitions | ||
sport_id | Unique identifier of sport in which competition is played. softnetSPORT API provides the following sports: sports.index | ||
sport_name | Name of the sport in which competition is played. | ||
ut | Information about date and time when record was last updated. Format YYYY-MM-DD HH:MM:SS. UTC timezone. | ||
area_name | Name of area of competition i.e. Europe, World, England | ||
comp_name | Name of competition | ||
name | Name of competition...seasons | ||
....season | |||
id | Unique identifier for the season | ||
name | Name of stage | comp_overall_sort | Numeric value indicating the order within global competitionsthe season |
ut | Information about date and time when record was last updated. Format YYYY-MM-DD HH:MM:SS. UTC timezone. | ||
... | stagestage details | ..stages | stages for competition season |
area_id | Unique identifier for area of competition | ||
......stage | |||
id | Unique identifier for competitionthe stage | ||
id | Unique identifier for competition season | ||
id | Unique identifier for stagename | Name of the stage | |
ut | Information about date and time when record was last updated. Format YYYY-MM-DD HH:MM:SS. UTC timezone. |