Resource information
URL | https://api.softnetsport.com/v2/seasons |
---|---|
Method | GET |
Description | Returns the seasons played in the competitions |
...
Package | This |
---|
...
resource is included in |
...
STATISTICS packages |
Method parameters
Name | Type | Description |
---|---|---|
There are not method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
username | xsd:string | REQUIRED. Assigned to you by softnetSPORT administrator |
page | xsd:int | Determines offset of paginated data. Default value is 1 which means first page |
limit | xsd: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_id | xsd:int | Determines sport to which season belongs. softnetSPORT API provides the following sports: sports.index |
competition_id | xsd:int | Determines competition to which competition belongs. softnetSPORT API provides the following competitions: competitions.index |
year | xsd:string | Determines the season year f.e:
|
timestamp | timestampxsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only changes in seasons or stages which occured or was updated after this timestamp will be returned. |
...