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

Resource information

URLhttps://api.softnetsport.com/v2/participants
MethodGET

Description

Returns participants (teams or persons) from all sports

PackageThis resource is included in the STATISTICS package

Method parameters

NameTypeDescription
There are not method parameters in this resource 

Query parameters

NameTypeDescription
tokenxsd:stringREQUIRED. More information concerning oAuth token: oAuth 2.0 authorization
langxsd:string

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

pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page
limitxsd:int

Determines maximum number of returned records on page. Used in paginated data. Default value is 500

Possible values: 5, 10, 25, 50, 100, 250, 500

sport_idxsd:intREQUIRED. Identifier of the sport. Allows to filter participants for the selected sport. softnetSPORT API provides the following sports: sports.index
season_idxsd:intDetermines the season id, in which participants can participated. F.e. to get all participants played in Premiership 2014/15
area_idxsd:intDetermines the area represented by the participant. softnetSPORT API provides the following areas: areas.index
typexsd:string

Participant type. Possible values:

  • team
  • person
subtypexsd:string

Participant subtype. Possible values:

  • athlete
  • coach
  • playing_coach
  • referee
  • director
timestampxsd:unix_timestamp

Selection date, format UNIX_TIMESTAMP. Only changes in participants which occured or was updated after this timestamp will be returned.

Method calling examples

Link
Description
https://api.softnetsport.com/v2/participants.xml?username=softnetsport&sport_id=5Returns the list of participants for soccer in XML format
https://api.softnetsport.com/v2/participants?username=softnetsport&sport_id=5Returns the list of participants for soccer in JSON format
https://api.softnetsport.com/v2/participants?username=softnetsport&sport_id=5&season_id=45Returns team participants from soccer Premiera Division for season 2014/2015

Output elements

.participants 
..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
phonePhone number
emailEmail address
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