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 16 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 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
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 area: areas.index
area_nameParticipant area name
sport_idUnique identifier of sport in which participant occures. softnetSPORT API provides the following sports: sports.index
area_codeMax 3 characters length of the short area name
national

Determines if participant is national team

websiteParticipant official website.
utInformation about date and time when record was last updated/created. Format YYYY-MM-DD HH:MM:SS. UTC timezone.
..details (team)details for type participant: team..details (person)details for type participant: person
foundedDate when team was foundedweightParticipant weight
phoneDate when team was foundedheightParticipant height
emailDate when team was foundednicknameParticipant nickname
addressAddres when team is located position_name Name of participant position
venue_idUnique identifier of venue in which team is playing home gamesbirthdateParticipant birthdate
venue_nameName of venue in which team is playing home games born_place Participant born place
  is_retiredDetermines if participant is retired
  subtype

Participant subtype name. Possible values:

  • athlete
  • coach
  • playing_coach
  • referee
  • director
  • No labels