Versions Compared

Key

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

Resource information

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

Description

Returns the seasons played in the competitions

...

PackageThis

...

resource is included in

...

STATISTICS packages

Method parameters

NameTypeDescription
There are not method parameters in this resource 

Query parameters

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
yearxsd:string

Determines the season year f.e:

  • 1970
  • 1970/71
  • 1971
  • 1971/72
  • 2000
  • 2000/01
  • 2014
  • 2014/15

timestamptimestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes in seasons or stages which occured or was updated after this timestamp will be returned.

...