Versions Compared

Key

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

Resource information

URLhttps://api.softnetsport.com/v2/stages
MethodGET

Description

Returns the stages played in the seasons

...

PackageThis

...

resource is included in

...

STATISTICS package

...

Method parameters

NameTypeDescription
There are not method parameters in this resource 

Query parameters

NameTypeDescription
usernamexsd:stringREQUIRED. Assigned to you by softnetSPORT administrator
langxsd:string

Determines language for the output data. softnetSPORT API provides the following languages: languages.index

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

season_idxsd:string REQUIRED.Determines season to which stages belongs. softnetSPORT API provides the following seasons: seasons.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.

Method calling examples

list of in XML format
Link
Description
https://api.softnetsport.com/v2/stages.xml?username=softnetsport&season_id=2212Returns the stages https://api.softnetsport.com/v2/stages?username=softnetsportReturns the list of stages in JSON played in the season Primera Division 2014/15 in XML format
https://api.softnetsport.com/v2/stages.xml?username=softnetsport&season_id=2212Returns the stages played in the season Primera Division 2014/15 in XML format

Output elements

 

.stage
 
idUnique identifier for the stage
nameName of the stage
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
show_table

Determines if the stage contains a table. Possible values:

  • yes
  • no
groups_nrThe amount of groups that are part of the stage
sortThe sort order for the stage. Sorting direction is ascending
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.

 

...