Resource information
URL | https://api.softnetsport.com/v2/participants/{participant_id} |
---|---|
Method | GET |
Description | Returns the single participant information |
Package | This resource is included in STATISTICS package |
Method parameters
Name | Data type | Description |
---|---|---|
participant_id | xsd:int | REQUIRED. The requested participant identifier |
Query parameters
Name | Data type | Description |
---|---|---|
username | xsd:string | REQUIRED. Assigned to you by the softnetSPORT administrator |
lang | xsd: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=softnetsport | Returns detailed data for the single participant: FC Barcelona in XML format |
https://api.softnetsport.com/v2/participants/136928?username=softnetsport | Returns detailed data for the single participant: FC Barcelona in JSON format |
Output elements
.participant | |||
---|---|---|---|
id | Unique identifier of the participant | ||
type | Participant type. Possible values:
| ||
name | Participant name | ||
short_name | Participant short name, max length: 20 characters | ||
acronym | Max 3 characters length mini name, f.e: BAR, REA | ||
gender | Participant gender. Possible value:
| ||
area_id | Unique identifier of the area represented by the participant. softnetSPORT API provides the following areas: areas.index | ||
area_name | Area name represented by the participant | ||
area_code | Max 3 characters length of the short area name f.e: GER, POL, FRA | ||
sport_id | Unique identifier of the sport in which participant occures. softnetSPORT API provides the following sports: sports.index | ||
sport_name | Name of the sport in which participant occures | ||
national | Determines if participant is national team. Possible values:
| ||
website | Participant official website | ||
ut | Information 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 | ||
founded | Date when the team was founded | ||
phone | Date when the team was founded | ||
Date when the team was founded | |||
address | Addres when the team is located | ||
venue_id | Unique identifier of the venue in which team is playing home games | ||
venue_name | Name of the venue in which team is playing home games | ||
weight | Participant weight | ||
height | Participant height | ||
nickname | Participant nickname | ||
position_name | Name of the participant position | ||
birthdate | Participant birthdate | ||
born_place | Participant born place | ||
is_retired | Determines if participant is retired. Possible values:
| ||
subtype | Participant subtype name. Possible values:
| ||
old_participant_id | deprecated. The attribute will be deprecated in next API version |