Resource information
URL | https://api.statscore.com/v2/referees-stats/{participant_id} |
---|---|
Method | GET |
Description | Returns all stats for given participant_id(referee_id) |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
There are no mehod parameters in this resource. |
Query parameters
Name | Data type | Description |
---|---|---|
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section. |
participant_id | xsd:int | REQUIRED. Identifier of the participant. |
Method calling examples
Link | Description |
---|---|
https://api.beta.statscore.com/v2/referees-stats/353352?token={{YOUR TOKEN}} | Returns a list of all statistics for referee with participant id 353352 in JSON format. |
Output emelements
participants | |
---|---|
id | Unique identifier of the participant |
name | Participants name |
short_name | Participants abbreviated name, max length: 20 characters |
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 the participant is involved. |
sport_name | Name of the sport in which the participant is involved. |
..stats | |
id | Unique identifier for the statistic. |
name | Name of the statistic. |
short_name | Short name of the statistic. |
value | Value of given statisctic. |