Versions Compared

Key

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

Resource information

URLhttps://api.softnetsportstatscore.com/v2/areasXSDhttps://api.softnetsport.com/assets/API/docs/xsd/areas.index.xsd
MethodGETGET 

Description

Returns areas used in the API a list of all available areas (continents , and countries)
Cache60 seconds
Authorization requiredNo

...

NameTypeDescription
langxsd:string

Determines language for the output data. The complete list of possible languages can be retrieved using the API resource: languages.index

pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page
limitxsd: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

parent_area_idxsd:intIdentifier which is parent to the selected area
timestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes that occurred or were updated after this timestamp will be returned

Method calling examples

softnetsport.xml XML format
LinkDescription
https://api.statscore.com/v2/areasReturns a list of all areas and sub-areas in https://api.softnetsport.com/v2/areasReturns a list of all areas and sub-areas in JSON format

https://api.softnetsportstatscore.com/v2/areas.xml?parent_area_id=209

Returns a list of the areas which are sub-areas of area_id = 209 (Europe)

Output elements

.areas ..area
 areas > area


idUnique identifier for the area
area_codeThree character area code e.g. GER, POL, FRA
name

Name of the area.

Possible translation of the attribute

parent_area_idIdentifier for the parent area e.g. parent area for Poland is Europe and parent area for Europe is World
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP