events.stats.index

Resource information

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

Description

Update details for event.
Authorization requiredYes
Internal methodYes

Parameters

NameData typeDescription
event_idxsd:intREQUIRED. The requested event identifier
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section

Output elements

.data

..statsAll participant or lineups for event
idThe identifier for object e.g participant(team)/lineup(person)
typeType of object e.g team/person
...statsList of stats
idStats/result identifier
column_nameName of column in database or input element
valueStats value
data_type

Defines type of field generated on front (internal purpose only)

  • integer
  • decimal
  • binary_text
  • binary
  • text
  • signed_integer

Sample curl call

Request
 Parameters
curl -X GET -H "https://api.statscore.com/v2/events/{event_id}/stats?token={token}"

token, event_id