Versions Compared

Key

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

Resource information

URLhttps://api.statscore.com/v2/groups
MethodGET

Description

Returns a list of all available groups that played in the

...

Package

This method is included in ALL packages.

...

selected stage
Cache60 seconds
Authorization requiredYes

Method parameters

NameTypeDescription
There are no method parameters in this resource 

Query parameters

NameTypeDescription
username
tokenxsd:stringREQUIRED.
Assigned to you by the softnetSPORT administrator
More information concerning authorization in API introduction section
langxsd:string

Determines language for the output data.

softnetSPORT 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

stage_idxsd:intREQUIRED. Identifier of the stage related to the group. The complete list of possible stages can be retrieved using the API resource: stages.index
timestamp
timestampxsd
xsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes
which occured
that occurred or
was
were updated after this timestamp will be returned.

Method calling examples

Link
Description
https://api.
softnetsport
statscore.com/v2/groups
_names.xml
?
username=softnetsportReturns the list of all groups in XML formathttps://api.softnetsport.com/v2/groups_names?username=softnetsportReturns the list of all groups
token={{YOUR_TOKEN}}&stage_id=74732Returns a list of all groups for the selected stage (Group stage in UEFA Champions League) in JSON format

Output elements

...

.group_name

...

competition

Include Page
Competition node
Competition node

competitions > competition > seasons
competition > season

Include Page
Season node
Season node

competition > season > stage
Include Page
Stage node
Stage node
competition > season > stage > groups
competition > season > stage > groups > group

Include Page
Group node
Group node