ranges.index

Resource information

URLhttps://api.statscore.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 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.statscore.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
sport_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_idUnique identifier for the season
descriptionDescription note of range
level

Information about time of providing data according to event. Possible values:

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