Versions Compared

Key

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

Resource information

...

Name

Type

Description

tokenxsd:stringREQUIRED. There is more information concerning authorization in the API introduction section
timestampxsd:unix_timestampREQUIRED. Selection date, format UNIX_TIMESTAMP. Only changes in events that occurred or were updated after this timestamp will be returned. The timestamp used in query can be at most 5 hours from the past.
sport_idxsd:intDetermines the sport identifier in which the events are played. Possibility to input multiple identifiers, separated by comma. The complete list of possible sports can be retrieved using the API resource: sports.index

...

LinkDescription
https://api.statscore.com/v2/basic-livescore?token={{YOUR_TOKEN}}Returns a list of all in progress (live) events in JSON format


Method calling examples


Excerpt

Output elements

includeincludeGroup node
competitions
competitions > competition


Competition nodeCompetition node
competitions > competition > seasons
competitions > competition > seasons > season


Include Page
Season nodeSeason node
competitions > competition > seasons > season > stages
competitions > competition > seasons > season > stages > stage


Stage nodeStage node
competitions > competition > seasons > season > stages > stage > groups
competitions > competition > seasons > season > stages > stage > groups > group
Include Page
Group node
competitions > competition > seasons > season > stages > stage > groups > group > events
competitions > competition > seasons > season > stages > stage > groups > group > events > event
Include Page
Event nodeEvent node
competitions > competition > seasons > season > stages > stage > groups > group > events > event > details
competitions > competition > seasons > season > stages > stage > groups > group > events > event > details > detail
 additional information related to
event


Include Page
Detail2 nodeDetail2 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 nodeParticipant node


competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > results
competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > results > result

Include Page
Result2 node
Result2 node

competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > stats
competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > stats > stat

Include Page
Stat2 nodeStat2 node