...
URL | https://api.softnetsport.com/v2/seasons |
---|---|
XSD | https://api.softnetsport.com/assets/API/docs/xsd/seasons.index.xsd |
Method | GET |
Description | Returns the seasons played in the competitions |
Package | This resource is included in the STATISTICS packages |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
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=1507 | Returns the seasons played in the competition - Primera Division |
https://api.softnetsport.com/v2/seasons.xml?username=softnetsporttoken={{YOUR_TOKEN}}&sport_id=5 | Returns the all competitions seasons played in soccer |
https://api.softnetsport.com/v2/seasons.xml?username=softnetsporttoken={{YOUR_TOKEN}}&year=2014/15 | Returns the all competitions seasons played in the season year 2014/15. |
...