Versions Compared

Key

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

Resource information

 URLURLhttps://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

...

Method parameters

NameTypeDescription
There are no method parameters in this resource 

...

NameTypeDescription
langxsd:string

Determines the language for the output data. API provides the following languages 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.com/v2/areas.xml
LinkDescription
https://api.Returns a list of all areas and sub-areas in XML formathttps://api.softnetsport.statscore.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