Versions Compared

Key

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

Resource information

URLhttps://api.softnetsport.com/v2/ranges
XSD
MethodGET

beDescription

Returns all rangers
Cache60 seconds
Authorization requiredYes

Method parameters

NameTypeDescription
There are no method parameters in this resource 

Query parameters

NameTypeDescription
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section
pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page
levelxsd:stringDetermines level type. If you pass "all" you return all ranges with all level type.
season_idxsd:intDetermines 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_idxsd:intDetermines 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

idUnique identifier for the competition
nameName of the the competition e.g. U19 World Champ
sortThe parameter used to sort competitions. Sorting direction is ascending
competition_idUnique identifier for the competition
competition_season_idUnique identifier for the season
descriptionDescription note of range
level