Resource information
URL | https://api.softnetsport.com/v2/ranges |
---|---|
XSD | |
Method | GET |
beDescription | Returns all rangers |
Cache | 60 seconds |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
There are no method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section |
page | xsd:int | Determines offset of paginated data. Default value is 1 which means first page |
level | xsd:string | Determines level type. If you pass "all" you return all ranges with all level type. |
season_id | xsd:int | Determines the season identifier in which the events are played. The complete list of possible seasons can be retrieved using the API resource: seasons.index |
competition_id | xsd:int | Determines the competition identifier in which the events are played. The complete list of possible competitions can be retrieved using the API resource: competitions.index |
Method calling examples
Link | Description |
---|---|
https://api.softnetsport.com/v2/ranges?token={{YOUR_TOKEN}} | Returns the ranges in JSON format |
Output elements
.ranges | |
---|---|
id | Unique identifier for the competition |
name | Name of the the competition e.g. U19 World Champ |
sort | The parameter used to sort competitions. Sorting direction is ascending |
competition_id | Unique identifier for the competition |
competition_season_id | Unique identifier for the season |
description | Description note of range |
level |