Versions Compared

Key

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

...

URLhttps://api.softnetsport.com/v2/seasons
XSDhttps://api.softnetsport.com/assets/API/docs/xsd/seasons.index.xsd
MethodGET

Description

Returns the seasons played in the competitions
PackageThis resource is included in the STATISTICS packages
Authorization requiredYes

Method parameters

NameTypeDescription
There are not method parameters in this resource 

...

Method calling examples

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

...