Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeDescription
usernamexsd:stringREQUIRED. Assigned to you by softnetSPORT administrator
pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page
limitxsd: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_idxsd:intDetermines sport to which season belongs. softnetSPORT API provides the following sports: sports.index
competition_idxsd:intDetermines competition to which competition belongs. softnetSPORT API provides the following competitions: competitions.index
yearseason_idxsd:stringDetermines the season year f.e 2014/15, 2015. season to which stages belongs. softnetSPORT API provides the following seasons years: seasons_years.index
timestamptimestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes in seasons or stages which occured or was updated after this timestamp will be returned.

...

Link
Description
https://api.softnetsport.com/v2/seasons.xml?username=softnetsportReturns the list of seasons names in XML format
https://api.softnetsport.com/v2/seasons?username=softnetsportReturns the list of seasons names in JSON format
https://api.softnetsport.com/v2/seasons.xml?username=softnetsport&competition_id=1507Returns the seasons played in the competition - Primera Division
https://api.softnetsport.com/v2/seasons.xml?username=softnetsport&sport_id=5Returns the all competitions seasons played in soccer
https://api.softnetsport.com/v2/seasons.xml?username=softnetsport&season_name=2014/15Returns the all competitions seasons played in the season 2014/15.

Output elements

 

.seasonstage
 
idUnique identifier for the seasonstage
nameName of the season f.e: Premiership 2014/15competition_idIdentifier of the competition. softnetSPORT API provides the following competitions: competitions.indexstage
start_dateDate when stage begins. Format YYYY-MM-DD
end_dateDate when stage ends. Format YYYY-MM-DD
season_idUnique identifier for the season to which stage belongs
sortThe sort order for stage
is_current

Possible values:

  • yes
  • no
utInformation about date and time when record was last updated. Format YYYY-MM-DD HH:MM:SS. UTC timezone.