Resource information
softnetsport from Package | This resource is included in ALL packages |
Cache | 60 seconds |
---|
Autorization required | Yes |
---|
Method parameters
Name | Type | Description |
---|
There are |
not no method parameters in this resource |
Query parameters
username Assigned to you by the softnetSPORT administrator More information concerning authorization in API introduction section |
lang | xsd:string | Determines language for the output data. |
softnetSPORT API provides the following languages The complete list of possible languages can be retrieved using the API resource: languages.index
|
page | xsd:int | Determines offset of paginated data. Default value is 1 which means first page |
limit | xsd: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_id | xsd:int | REQUIRED. Identifier |
of for the sport. Allows you to filter participants for the selected sport. |
softnetSPORT API provides the following sports The complete list of possible sports can be retrieved using the API resource: sports.index |
season_id | xsd:int | Determines the season id, in which participants |
can Feg. to get all participants that played in Premiership in 2014/15. The complete list of possible seasons can be retrieved using the API resource: seasons.index |
area_id | xsd:int | Determines the area represented by the participant. |
softnetSPORT API provides the following areas The complete list of possible areas can be retrieved using the API resource: areas.index
|
multi_ids | xsd:string | List of participant identifiers separated by a comma (e.g. 123,234,321) for the details of the participant you want returned. (Up to 100 ids) |
type | xsd:string | Participant type. Possible values: |
subtype | xsd:string | Participant subtype. Possible values: - athlete
- coach
- playing_coach
- referee
- director
|
timestamp | xsd:unix_timestamp | Selection date, format UNIX_TIMESTAMP. Only changes |
in which occured was were updated after this timestamp will be returned. |
virtual | xsd:string | Is participant virtual. Possible values: |
Method calling examples
softnetsport.xmlusername=softnetsport&sport_id=5Returns the list of participants for soccer in XML format | https://api.softnetsport.com/v2/participants?username=softnetsport the a list of participants for soccer in JSON format |
https://api. |
softnetsportusername=softnetsport from fof soccer Premiera Division for the season 2014/2015 |
Output elements
| id | Unique identifier of the participants |
---|
participants > participant |
---|
type type. Possible values:name | Participant name |
short_name | Participant short name, max length: 20 characters |
acronym | Max 3 characters length mini name |
gender | Participant gender. Possible value: - male
- female
- mixed (for doubles in tennis f.e)
|
area |
participants > participant > details |
---|
participants > participant > details > detail |
---|
founded | Date when the team was founded | phone | Phone number | email | Email address | address | Addres where the team is located | venue_id | Unique identifier of the |
|
area represented by the participant. softnetSPORT API provides the following area: areas.indexarea_name | Participant area name |
sport_id | Unique identifier of sport in which participant occures. softnetSPORT API provides the following sports: sports.index
|
area_code | Max 3 characters length of the short area name |
national | Determines if participant is national team |
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 | ..details (person) | details for type participant: person |
---|
founded | Date when team was founded | weight | Participant weight |
phone | Date when team was founded | height | Participant height |
email | Date when team was founded | nickname | Participant nickname |
address | Addres when team is located | position_name | Name of participant position |
venue_id | Unique identifier of venue in which team is playing home games | birthdate | Participant birthdate |
venue_name | Name of venue in which team is playing home games | born_place | Participant born place |
| | is_retired | Determines if participant is retired |
| 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 | position_id | Unique identifier of the participants position | birthdate | Participanst birthdate | born_place | Participants place of birth | is_retired | Determines if the participant has retired. Possible values: | subtype | Participant subtype name. Possible values: |
|
coachplaying_old_participant_id | depracated. The attribute will be removed from the next API version | | |
...