Resource information
URL | https://api.softnetsport.com/v2/participants/{participant_id} |
---|---|
XSD | https://api.softnetsport.com/assets/API/docs/xsd/participants.show.xsd |
Method | GET |
Description | Returns a single participants information |
Cache | 60 seconds |
Authorization required | Yes |
Method parameters
Name | Data type | Description |
---|---|---|
participant_id | xsd:int | REQUIRED. The requested participant identifier |
Query parameters
Name | Data type | Description |
---|---|---|
token | xsd:string | REQUIRED. More information concerning authorization in API introduction section |
lang | xsd:string | Determines language for the output data |
Method calling examples
Link | Description |
---|---|
https://api.softnetsport.com/v2/participants/136928.xml?token={{YOUR_TOKEN}} | Returns detailed data for a single participant: FC Barcelona in XML format |
https://api.softnetsport.com/v2/participants/136928?token={{YOUR_TOKEN}} | Returns detailed data for a single participant: FC Barcelona in JSON format |
Output elements
.participants | |
---|---|
..participant | |
id | Unique identifier for the participant |
type | Participant type. Possible values:
|
name | Participant name Possible translation of the attribute |
short_name | Participants abbreviated name, max length: 20 characters Possible translation of the attribute |
acronym | Max 3 characters in length mini name, e.g. BAR, REA |
gender | Participant gender. Possible value:
|
area_id | Unique identifier for the area represented by the participant |
area_name | Area name represented by the participant |
area_code | Max 3 characters in length of the abbreviated area name e.g. GER, POL, FRA |
sport_id | Unique identifier for the sport in which the participant takes part |
sport_name | Name of the sport in which the participant takes part |
national | Determines if the participant is national team. Possible values:
|
website | Participants official website |
ut | Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP |
old_participant_id | deprecated. The attribute will be removed in next API version |
slug | friendly url for participant |
logo | Attribute for internal purposes |
...details | |
....detail | |
founded | Date when the team was founded |
phone | Phone number |
Email address | |
address | Address where the team is located |
venue_id | Unique identifier for the venue in which the team plays home games |
venue_name | Name of the venue in which the team plays home games |
weight | Participants weight |
height | Participants height |
nickname | Participants nickname |
position_name | Name of the participants position |
birthdate | Participants date of birth |
born_place | Participants place of birth |
is_retired | Determines if participant has retired. Possible values:
|
subtype | Participant subtype name. Possible values:
|