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

Resource information

URLhttps://api.softnetsport.com/v2/participants/{participant_id}
MethodGET

Description

Returns the single participant information
PackageThis resource is included in STATISTICS package

Method parameters

NameData typeDescription
participant_idxsd:intREQUIRED. The requested participant identifier

Query parameters

NameData typeDescription
usernamexsd:stringREQUIRED. Assigned to you by the softnetSPORT administrator
langxsd:string

Determines language for the output data. softnetSPORT API provides the following languages: languages.index

 

Method calling examples

Link
Description
https://api.softnetsport.com/v2/participants/136928.xml?username=softnetsportReturns detailed data for the single participant: FC Barcelona in XML format
https://api.softnetsport.com/v2/participants/136928?username=softnetsportReturns detailed data for the single participant: FC Barcelona in JSON format

Output elements

.participant
 
idUnique identifier of the participant
type

Participant type. Possible values:

  • team
  • person
nameParticipant name
short_nameParticipant short name, max length: 20 characters
acronymMax 3 characters length mini name, f.e: BAR, REA
gender

Participant gender. Possible value:

  • male
  • female
  • mixed (for doubles in tennis f.e)
area_idUnique identifier of the area represented by the participant. softnetSPORT API provides the following areas: areas.index
area_nameArea name represented by the participant
area_codeMax 3 characters length of the short area name f.e: GER, POL, FRA
sport_idUnique identifier of the sport in which participant occures. softnetSPORT API provides the following sports: sports.index
sport_nameName of the sport in which participant occures
national

Determines if participant is national team. Possible values:

  • yes
  • no
websiteParticipant official website
utInformation about date and time when the record was last updated. Format UNIX_TIMESTAMP
old_participant_iddeprecated. The attribute will be deprecated in next API version
..details 
foundedDate when the team was founded
phoneDate when the team was founded
emailDate when the team was founded
addressAddres when the team is located
venue_idUnique identifier of the venue in which team is playing home games
venue_nameName of the venue in which team is playing home games
weightParticipant weight
heightParticipant height
nicknameParticipant nickname
position_nameName of the participant position
birthdateParticipant birthdate
born_placeParticipant born place
is_retired

Determines if participant is retired. Possible values:

  • yes
  • no
subtype

Participant subtype name. Possible values:

  • athlete
  • coach
  • referee
  • director
  • No labels