Resource information
URL | https://api. |
---|
statscore.com/v2/events/{event_id} |
Method | GET |
---|---|
Description | Returns a single event with details including participants, partial results, stats, lineups and important incidents for the event. For speedway events, we suggest using events.participants.index endpoint |
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?token={{YOUR_TOKEN}} | Returns detailed data for the selected event 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
Possible values:
- yes
- no
Determines if only the full time result/score of the event is given. Possible values:
- yes - result/score is updated only when the event is finished
- no - result/score is updated during the event
Type of event coverage. Possible values:
- from_venue - means the scout is relaying the event directly from the stadium (max. latency 1 second)
- from_tv - means the scout is relaying the event from tv transmission (max. latency 8 seconds)
- basic - for this type of coverage we don't provide detailed event incidents (max. latency around 60 seconds)
Possible values:
- yes
- no
Name of the event status
Type of the status. Possible values:
- live
- scheduled
- finished
- cancelled
- interrupted
- deleted
- other
Clock status. Possible value:
- running
- stopped
Possible value:
- active
- suspended
Relation status. Attribute for internal purposes. Possible value:
- not_started - for an event that has not started
- in_progress - for a live event
- finished - for an event that has finished
- 30_min_left - scout confirms his ability to deliver the coverage 30 min before the event
- 5_min_left - scout confirms his ability to deliver the coverage 5 min before the event
Determines if event is played at a neutral venue. Possible values:
- yes
- no
Describes status for the item (record). Possible values:
- active - the record is active
- deleted - the record was deleted by the admin. When in the case of an event being added by mistake
Possible value:
- yes - result is verified with official source
- no - result is not verified with official source
Defines type of field generated on front (internal purpose only)
- integer
- decimal
- binary_text
- binary
- text
- signed_integer
Defines type of field generated on front (internal purpose only)
- integer
- decimal
- binary_text
- binary
- text
- signed_integer
| |||||||
competition > season | |||||||
---|---|---|---|---|---|---|---|
| |||||||
competition > season > stage | |||||||
| |||||||
competition > season > stage > group | |||||||
| |||||||
competition > season > stage > group > event | |||||||
| |||||||
competition > season > stage > group > event > details > detail | |||||||
additional information related to event | |||||||
| |||||||
competition > season > stage > group > event > participants | |||||||
competition > season > stage > group > event > participants > participant | |||||||
counter | Number of participant in the event. Participant with counter="1" is the home team. |
Participant type. Possible values:
- team
- person
Participant gender. Possible value:
- male
- female
- mixed (e.g. for doubles in tennis)
Determines if participant is a national team. Possible values:
- yes
- no
| |||||||||||||||||
competition > season > stage > group > event > participants > participant > stats | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
competition > season > stage > group > event > participants > participant > stats > stat | |||||||||||||||||
| |||||||||||||||||
competition > season > stage > group > event > participants > participant > event_status_stats | |||||||||||||||||
| |||||||||||||||||
competition > season > stage > group > event > participants > participant > results | |||||||||||||||||
competition > season > stage > group > event > participants > participant > results > result | |||||||||||||||||
| |||||||||||||||||
competition > season > stage > group > event > participants > participant > lineups | |||||||||||||||||
competition > season > stage > group > event > participants > participant > lineups > lineup | |||||||||||||||||
|
competition > season > stage > group > event > events_incidents | ||
---|---|---|
competition > season > stage > group > event > events_incidents > incident | ||
this node includes only important incidents from the event |
|
|
|
|
|
|
|