Versions Compared

Key

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

Resource information

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

Description

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 level type. If you pass "all" you return all ranges with all level type.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.softnetsportstatscore.com/v2/ranges?token={{YOUR_TOKEN}}Returns the rounds 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 ascendingsport_idDetermines the sport identifier in which the events are played. Possibility to input multiple identifiers, separated by comma. The complete list of possible sports can be retrieved using the API resource: sports.index
competition_idUnique identifier for the competition
competition_season_idctutUnique identifier for the season
descriptionDescription note of range
level

Information about

the date and

time of

when the record was last updated. Format UNIX_TIMESTAMPdt

providing data according to event. Possible values:

  • Before
  • Live
  • After
sort_orderThe parameter used to sort competitions. Sorting direction is ascending