Resource information
URL | https://api. |
---|
statscore.com/v2/stages/{stage_id} |
Method | GET |
---|---|
Description | Returns the selected stage |
Package | This resource is included in the SCOUTSFEED, LIVESCORE and STATISTICS packages |
Cache | 60 seconds |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
stage_id | xsd:int | REQUIRED. The requested stage identifier |
Query parameters
Name | Type | Description |
---|---|---|
token | xsd:string | REQUIRED. More information concerning oAuth token: oAuth 2.0 authorization |
lang | xsd:string | Determines language for the output data. softnetSPORT API provides the following languages: languages.index |
Method calling examples
Link | Description |
---|---|
https://api. |
statscore.com/v2/stages/35 |
?token={{YOUR_TOKEN}} | Returns the selected stage in JSON format |
Output elements
...
competition |
---|
Mini name of the competition. Max 3 characters in length e.g. U19
Competition gender. Possible values:
- male
- female
- mixed
- undefined
Competitions type. Possible values:
- country_league - e.g. Premier Division
- country_cups - e.g. FA Cup
- international - e.g. World Cup
- international_clubs - e.g. Champions League
- friendly - friendly matches
- individual - for speedway individual competitions such as Speedway GP
- team - for speedway national competitions
- single - for tennis competitions
- double - for tennis competitions
- mixed - for tennis competitions
- undefined - other
Type of area in which competitions are played. Possible values:
- country
- international
Determines the season year e.g.
- 1970
- 1970/71
- 1971
- 1971/72
- 2000
- 2000/01
- 2014
- 2014/15
Determines if the stage contains standings. Possible values:
- yes
- no
| |||||||
competition > season | |||||||
---|---|---|---|---|---|---|---|
| |||||||
competition > season >stage | |||||||
| |||||||
competition > season > stage > groups | |||||||
competition > season > stage > groups > group | |||||||
| |||||||
competition > season > stage > rounds | |||||||
competition > season > stage > rounds > round | |||||||
id | Unique identifier of the round | ||||||
name | Name of the round. Possible translation of the attribute | ||||||
sort | The sort order for the |
round. Sorting direction is ascending |
Possible values:
- yes
- no
ut | Information about the date and time of when the |
round record was last updated. Format UNIX_TIMESTAMP |
Participant type. Possible values:
- team
- person
Participant gender. Possible value:
- male
- female
- mixed (e.g. for doubles in tennis)
Determines if participant is national team. Possible values:
- yes
- no
...
competition > season > stage > participants | |||||||
---|---|---|---|---|---|---|---|
competition > season > stage > participants > participant | |||||||
|