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

Resource information

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

Description

Returns participants (teams or persons) from all sports

PackageThis resource is included in ALL packages

Method parameters

NameTypeDescription
There are not method parameters in this resource 

Query parameters

NameTypeDescription
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

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

.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