Versions Compared

Key

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

Resource information

URLhttps://api.
softnetsport
statscore.com/v2/events/{event_id}/participants
XSD
MethodGET

Description

Returns a list of participants with subparticipants 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
status_idxsd:int

Determines list of participants with stats for selected status_id.

List of available statuses for event sport you can find in method sports.show

for selected event sport

.

Currently supported only in sport speedway.

langxsd:string

Determines language for the output data 

tzxsd:stringDetermines timezone for the output data


Method calling examples

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

Output elements

.participants

..participant

counterNumber of participants in the event. Participant with counter="1" is the home team.
idUnique identifier of the participant
type

Participant type. Possible values:

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

Participant gender. Possible value:

  • male
  • female
  • mixed (e.g. for doubles in tennis)
area_idUnique identifier for the area represented by the participant 
area_nameArea name represented by the 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 participant takes part 
sport_nameName of the sport in which a participant takes part
national

Determines if participant is a national team. Possible values:

  • yes
  • no
websiteParticipants 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 participant
logoAttribute for internal purposes
...results

....result

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

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

  • integer
  • decimal
  • binary_text
  • binary
  • text
  • signed_integer
...stats

....stat

idUnique identifier for the statistic
nameName of the statistic. Possible values are different depending on the sport
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
...subparticipants

....subparticipant

lineup_idUnique identifier of the sub participant in squad
idUnique identifier of the participant
type

Participant type. Possible values:

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

Participant gender. Possible value:

  • male
  • female
  • mixed (e.g. for doubles in tennis)
area_idUnique identifier for the area represented by the participant 
area_nameArea name represented by the 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 participant takes part 
sport_nameName of the sport in which a participant takes part
national

Determines if participant is a national team. Possible values:

  • yes
  • no
websiteParticipants 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 participant
logoAttribute for internal purposes
.....results
......result
idUnique identifier for the result
nameName of the result. Possible values are different depending on the sport
short_nameAbbreviated name of the result
valueValue related to the result
data_type

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

  • integer
  • decimal
  • binary_text
  • binary
  • text
  • signed_integer
.....stats
......stat
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