Versions Compared

Key

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

Resource information

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

Description

Returns
the
a single
participant
participants information
PackageThis resource is included in STATISTICS package.
Cache60 seconds
Authorization requiredYes

Method parameters

NameData typeDescription
participant_idxsd:intREQUIRED. The requested participant identifier

Query parameters

NameData typeDescription
username
tokenxsd:stringREQUIRED.
Assigned to you by softnetSPORT administrator
 More information concerning authorization in API introduction section
langxsd:string

Determines language for the output data

. softnetSPORT API provides the following languages: languages.index

 


Method calling examples

Link
Description
https://api.
softnetsport
statscore.com/v2/participants/136928
.xml
?
username=softnetsport
token={{YOUR_TOKEN}}Returns detailed data for
the single participant: FC Barcelona in XML formathttps://api.softnetsport.com/v2/participants/136928?username=softnetsportReturns detailed data for the
a single participant: FC Barcelona in JSON format

Output elements

.participant
idUnique identifier of the
participants
participants > participant
type

Include Page
Participant

type. Possible values:
  • team
  • person
nameParticipant nameshort_nameParticipant short name, max length: 20 charactersacronymMax 3 characters length mini namegender

Participant gender. Possible value:

  • male
  • female
  • mixed (for doubles in tennis f.e)
area

node
Participant node

participants > participant > details
participants > participant > details > detail


foundedDate when the team was founded
phonePhone number
emailEmail address
addressAddress where the team is located
venue_idUnique identifier
of the area represented by the participant. softnetSPORT API provides the following area: areas.index
area_nameParticipant area namesport_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 namenational

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: personfoundedDate when team was foundedweightParticipant weightphoneDate when team was foundedheightParticipant heightemailDate when team was foundednicknameParticipant nicknameaddressAddres when team is located position_name Name of participant positionvenue_idUnique identifier of venue in which team is playing home gamesbirthdateParticipant birthdatevenue_nameName of venue in which team is playing home games born_place Participant born place  is_retiredDetermines if participant is retired  
for the venue in which the team plays home games
venue_nameName of the venue in which the team plays home games
weightParticipants weight
heightParticipants height
nicknameParticipants nickname
position_nameName of the participants position
position_idUnique identifier of the participants position
birthdateParticipants date of birth
born_placeParticipants place of birth
is_retired

Determines if participant has retired. Possible values:

  • yes
  • no
subtype

Participant subtype name. Possible values:

  • athlete
  • coach
  • referee
  • director
  • athlete/coach
  • playing_coach
  • referee
  • director


    participants > participant > venues
    participants > participant > venues > venue


    idUnique identifier for the season.
    nameName of the season e.g. Premiership 2014/15
    short_nameShort name of the venue
    countryCountry in which the venue is place
    statusStatus of the venue
    urlUrl of the venue's website
    cityCity in which the venue is place
    latLatitude of the venue
    lngLongitude of the venue
    openedDate when the venue was opened
    photoPhoto of the venue
    utInformation about the date and time of when the venue record was last updated.