Versions Compared

Key

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

Resource information

URLhttps://api.
softnetsport
statscore.com/v2/
roundsXSDhttps://api.softnetsport.com/assets/API/docs/xsd/rounds.index.xsd
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
langxsd:string

Determines language for the output data 

pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page
limit
levelxsd:stringDetermines level type. If you pass "all" you return all ranges with all level type.
season_idxsd: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

timestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes in stages that occurred or were updated after this timestamp will be returned.
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_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
statscore.com/v2/
rounds.xml
ranges?token={{YOUR_TOKEN}}Returns the
rounds in XML formathttps://api.softnetsport.com/v2/rounds?token={{YOUR_TOKEN}}Returns the rounds
ranges in JSON format

Output elements


.
rounds
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
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP