Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource information

XSD
URLhttps://api.softnetsportstatscore.com/v2/events/{event_id}https://api.softnetsport.com/assets/API/docs/xsd/events.show.xsd
MethodGET

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
Cache60 seconds
Authorization requiredYes

...

Method calling examples

softnetsport.com/v2/events/6367.xml?token={{YOUR_TOKEN}}
Link
Description
https://api.Returns detailed data for the selected event in XML formathttps://api.softnetsport.statscore.com/v2/events/6367?token={{YOUR_TOKEN}}Returns detailed data for the selected event in JSON format

Output elements

...

competitions > Event_incident1 node
competition

Include Page
Competition node
Competition node

competitions > competition > seasons
competitions > competition > seasons
> season

Include Page
Season node
Season node

competitions > competition > seasons > season > stagescompetitions > competition > seasons > season > stages >  > season > stage

Include Page
Stage node
Stage node

competitions > competition > seasons > season > stages > stage > groups
competitions > competition > seasons > season > stages > stage > groups competition > season > stage > group

Include Page
Group node
Group node

competitions > competition > seasons > season > stages > stage > groups > group > events
competitions > competition > seasons > season > stages > stage > groups > group > events competition > season > stage > group > event

Include Page
Event node
Event node

competitions > competition > seasons > competitions > competition > seasons > season > stages > stage > groups > group > events > event >  > season > stages > stage > groups > group > events > event > details> event > details > detail
additional information related to event

Include Page
Detail2 node
Detail2 node

competitions > competition > seasons >  > season > stages > stage > groups > group > events > event >  > participants
competitions > competition > seasons >  > season > stages > stage > groups > group > events > event > participants > participant
counterNumber of participant in the event. Participant with counter="1" is the home team.

Include Page
Participant node
Participant node

competitions > competition > seasons >  > season > stages > stage > groups > group > events > event > participants >  > participant > results > statscompetitions >
seasons > competition >  > season > stages > stage > groups > group > events > event > participants >  > participant > stats > results > resultstat

Include Page
Result2 Stat2 nodeResult2
Stat2 node

competitions competition > season > competition stage > seasons > season > stages > stage > groups group > event > participants > participant > event_status_stats
Include Page
Stat2 node
Stat2 node
competition > season > stage > group > events > event > participants > participant > statscompetitions > competition > seasons > season > stages > stage > groups > group > events participant > results
competition > season > stage > group > event > participants >  > participant > stats results > statresult
Include Page
Stat2
Result2 node
Stat2
Result2 node
competitions > competition > seasons >  > season > stages > stage > groups > group > events > event > participants >  > participant >  > lineups
competitions > competition > seasons >  > season > stages > stage > groups > group > events > event > participants >  > participant >  > lineups > lineup


idUnique identifier for lineup related to event
type

Type of participant in lineup. Possible values:

  • player
  • coach
bench

Determines if participant (player) is in the starting line up for the event. Possible values:

  • empty (if participant - player is in the starting line up)
  • yes (if participant - player is on the bench)
participant_idUnique identifier for the participant (player, coach)
participant_nameName of the participant (player, coach)
participant_area_idIdentifier for area represented by the participant
shirt_nrShirt number. Could be empty value
participant_slugFriendly url for the participant



competitions > competition > seasons >  > season > stages > stage > groups > group > events > event >events_incidents
competitions > competition > seasons >  > season > stages > stage > groups > group > events > event >events_incidents > incident
this node includes only important incidents from the event


idUnique identifier for an incident that has occurred in the event
incident_idIdentifier for the incident
incident_nameName of incident e.g. goal, yellow card, red card etc.
participant_idUnique identifier for event participant (team or player) related to the incident
participant_nameParticipants (team or player) name related to the incident. e.g. Cristano Ronaldo, Leo Messi, Roger Federer
participant_slugFriendly URL for the participant
subparticipant_idUnique identifier for the player, who is a member of participant squad e.g. Real Madrid, Barcelona
subparticipant_slugFriendly URL for the subparticipant. Possible empty value
subparticipant_nameSubparticipant name
event_status_idIdentifier for event status in which the incident occurred
event_status_nameName of event
Include Page
Event_incident1 node
status in which the incident occurred
event_timeEvent minute and second in which the incident occurred
infoAdditional information about the incident
forOnly for internal use. Possible values:
  • all
  • none
  • own
  • rival
utInformation about the date and time of when the event incident record was last updated. Format UNIX_TIMESTAMP
additional_info

Contains additional information:

  • goalkeeper_id, 
  • assistant_id (eg. "assistant_id": 178565)
  • assistant_name (eg. "assistant_name": "Marco Reus")