Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Resource information

URLhttps://api.statscore.com/v2/simple-stats/{event_id}
MethodGET

Description

Returns the simple stats for the selected event. Only for Futsal and Tennis events.
Cache0 seconds
Authorization requiredYes

Method parameters

NameTypeDescription
event_idxsd:intREQUIRED. The requested event identifier

Query parameters

NameTypeDescription
tokenxsd:stringREQUIRED. More information concerning authorization in the API introduction section

Method calling examples

Link
Description
https://api.statscore.com/v2/simple-stats/2763115?token={{YOUR_TOKEN}}Returns the simple stats for the selected event in JSON format

Output elements


stats


team_idUnique identifier for the team
type

Type of participant. Possible values:

  • Home 
  • Away

stats

stats > data
yellow_cardsValue of yellow cards statistic for the selected team
red_cardsValue of red cards statistic for the selected team
attacksValue of attacks statistic for the selected team
cornersValue of corners statistic for the selected team
total_shotsValue of total shots statistic for the selected team
shots_on_goalValue of shots on goal statistic for the selected team
shots_woodworkValue of shots woodwork statistic for the selected team
shots_blockedValue of shots blocked statistic for the selected team
accumulated_fouls_1st_halfValue of accumulated fouls in the 1st half statistic for the selected team
accumulated_fouls_2nd_halfValue of accumulated fouls in the 2nd half statistic for the selected team




  • No labels