seasons.participants-stats.index
Resource information
URL | https://api.statscore.com/v2/seasons/{season_id}/participants-stats |
---|---|
Method | GET |
Description | Returns a list of all available participants (teams or persons) for selected season |
Cache | 60 seconds |
Autorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
season_id | xsd:int | REQUIRED. The requested season identifier |
Query parameters
Name | Type | Description |
---|---|---|
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section |
lang | xsd:string | Determines language for the output data. The complete list of possible languages can be retrieved using the API resource: languages.index |
page | xsd:int | Determines offset of paginated data. Default value is 1 which means first page |
limit | xsd: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 |
area_id | xsd:int | Determines the area represented by the participant. The complete list of possible areas can be retrieved using the API resource: areas.index |
type | xsd:string | Participant type. Possible values:
|
subtype | xsd:string | Participant subtype. Possible values:
|
participant_id | xsd:int | List of participants identifiers separated by a comma (e.g. 123,234,321) for the details of the participant you want to be returned. (Up to 100 ids) |
subparticipant_id | xsd:string | List of subparticipant identifiers separated by a comma (e.g. 123,234,321) for the details of the subparticipant you want to be returned. (Up to 100 ids) |
parent_participant_id | xsd:int | Identifier of parent_participant for the details of the subparticipants related to parent_participant |
timestamp | xsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only changes for participants that occurred or were updated after this timestamp will be returned. |
Method calling examples
Link | Description |
---|---|
https://api.statscore.com/v2/seasons/29847/participants-stats?TOKEN&type=person | Returns a list of persons for the European Championship in JSON format |
Output elements
season-participants | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
season-participants >Â season-participant | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
|