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

Description

Returns names of the stages used in softnetSPORT API.

Package

This method is included in STATISTICS package.

Parameters

NameTypeDescription
usernamexsd:stringREQUIRED. Assigned to you by 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

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 for participant
type

Participant type. Could be:

  • team
  • person
nameParticipant name
short_nameParticipant short name, max length: 20 charactes
acronymMax 3 characters length mini name
genderParticipant gender
area_idUnique identifier of participant area
area_nameParticipant area name
sport_idUnique identifier of sport in which participant occures
area_codeMax 3 characters length area name
nationalDetermines if participant is national team
websiteParticipant official website.
utInformation about date and time when record was last updated. 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 locatedposition_idUnique identifier of position
venue_idUnique identifier of venue in which team is playing home gamesposition_nameName of participant position
venue_nameName of venue in which team is playing home gamesbirthdateParticipant birthdate
  born_placeParticipant born place
  is_retiredDetermines if participant is retired
  subtype_idUnique identifier of subtype for participant
  subtype_nameParticipant subtype name, i.e. coach, playing_coach, refree

 

 

  • No labels