Resource information
URL | https://api.statscore.com/v2/events/{event_id}/participants |
---|---|
Method | GET |
Description | Returns a list of participants with subparticipants for the event |
Cache | 60 seconds |
Authorization required | Yes |
Method parameters
Name | Data type | Description |
---|---|---|
event_id | xsd:int | REQUIRED. The requested event identifier |
Query parameters
Name | Data type | Description |
---|---|---|
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section |
lang | xsd:string | Determines language for the output data |
tz | xsd:string | Determines timezone for the output data |
Method calling examples
Link | Description |
---|---|
https://api.statscore.com/v2/events/6367/participants.xml?token={{YOUR_TOKEN}} | Returns a list of participants with subparticipants for the event in XML format |
https://api.statscore.com/v2/events/6367/participants?token={{YOUR_TOKEN}} | Returns a list of participants with subparticipants for the event in JSON format |
Output elements
.participants | |
---|---|
id | Identifier of the participant |
type | Participant type. Possible values:
|
name | Participants name |
short_name | Participants abbreviated name, max length: 20 characters |
acronym | Max 3 characters in length mini name, e.g. BAR, REA |
gender | Participant gender. Possible value:
|
area_id | Unique identifier for the area represented by the participant |
area_name | Area name represented by the participant |
area_code | Max 3 characters in length for the abbreviated area name e.g. GER, POL, FRA |
sport_id | Unique identifier for the sport in which a participant takes part |
sport_name | Name of the sport in which a participant takes part |
national | Determines if participant is a national team. Possible values:
|
website | Participants official website |
ut | Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP |
old_participant_id | deprecated. The attribute will be removed in next API version |
slug | friendly url for participant |
logo | Attribute for internal purposes |
...results | |
....result | |
id | Unique identifier for the result |
name | Name of the result. Possible values are different depending on the sport |
value | Value related to the result |
data_type | Defines type of field generated on front (internal purpose only)
|
...stats | |
....stat | |
id | Unique identifier for the statistic |
name | Name of the statistic. Possible values are different depending on the sport |
value | Value related to the statistic |
data_type | Defines type of field generated on front (internal purpose only)
|
...subparticipants | |
....subparticipant | |
lineup_id | Unique identifier of the sub participant in squad |
id | Unique identifier of the participant |
type | Participant type. Possible values:
|
name | Participants name |
short_name | Participants abbreviated name, max length: 20 characters |
acronym | Max 3 characters in length mini name, e.g. BAR, REA |
gender | Participant gender. Possible value:
|
area_id | Unique identifier for the area represented by the participant |
area_name | Area name represented by the participant |
area_code | Max 3 characters in length for the abbreviated area name e.g. GER, POL, FRA |
sport_id | Unique identifier for the sport in which a participant takes part |
sport_name | Name of the sport in which a participant takes part |
national | Determines if participant is a national team. Possible values:
|
website | Participants official website |
ut | Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP |
old_participant_id | deprecated. The attribute will be removed in next API version |
slug | friendly url for participant |
logo | Attribute for internal purposes |
.....results | |
......result | |
id | Unique identifier for the result |
name | Name of the result. Possible values are different depending on the sport |
short_name | Abbreviated name of the result |
value | Value related to the result |
data_type | Defines type of field generated on front (internal purpose only)
|
.....stats | |
......stat | |
id | Unique identifier for the statistic |
name | Name of the statistic. Possible values are different depending on the sport |
short_name | Abbreviated name of the result |
value | Value related to the statistic |
data_type | Defines type of field generated on front (internal purpose only)
|