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 20 Next »

Resource information

URLhttps://api.statscore.com/v2/events/{event_id}/sub-participants
MethodGET

Description

Returns a list of sub-participants for the event
Cache60 seconds
Authorization requiredYes

Method parameters

NameData typeDescription
event_idxsd:intREQUIRED. The requested event identifier

Query parameters

NameData typeDescription
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section
langxsd:string

Determines language for the output data 

tzxsd:stringDetermines timezone for the output data


Method calling examples

Link
Description
https://api.statscore.com/v2/events/6367/sub-participants?token={{YOUR_TOKEN}}Returns a list of sub-participants for the event in JSON format

Output elements

.sub_participants

idUnique identifier of the sub-participant (if participant exist at system)
type

Participant type. Possible values:

  • team
  • person
nameSub-participants name
short_nameParticipants abbreviated name, max length: 20 characters
acronymMax 3 characters in length mini name, e.g. BAR, REA
gender

Sub-participant gender. Possible value:

  • male
  • female
  • mixed (e.g. for doubles in tennis)
area_idUnique identifier for the area represented by the sub-participant 
area_nameArea name represented by the sub-participant
area_codeMax 3 characters in length for the abbreviated area name e.g. GER, POL, FRA
sport_idUnique identifier for the sport in which a sub-participant takes part 
sport_nameName of the sport in which a sub-participant takes part
national

Determines if sub-participant is a national team. Possible values:

  • yes
  • no
websiteSub-participants official website
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP
old_participant_iddeprecated. The attribute will be removed in next API version
slugfriendly url for Sub-participant
logoAttribute for internal purposes
virtual

Determines if participant is a virtual (not real team or player). Possible values:

  • yes
  • no
shirt_nrshirt number in for the event
detailsdetailed data for participant
lineup_idUnique identifier of the sub-participant in event
team_idIdentifier of participant id (team)
...stats

idUnique identifier for the statistic
nameName of the statistic. Possible values are different depending on the sport
short_nameAbbreviated name of the result.
valueValue related to the statistic
data_type

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

  • integer
  • decimal
  • binary_text
  • binary
  • text
  • signed_integer
  • No labels