Resource information
URL | https://api.softnetsportstatscore.com/v2/participants/{participant_id}/compare | XSD | https://api.softnetsport.com/assets/API/docs/xsd/participants.compare.xsd |
---|---|---|---|
Method | GET | ||
Description | Returns the comparisons between two participants | ||
Cache | 60 seconds | ||
Authorization required | Yes |
...
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 |
compare_participant_id | xsd:int | REQUIRED. Second participant id to compare |
date_from | xsd:string | Selection datetime, format 'yyyy-mm-dd hh:mm:ss'. Date from which events should be returned |
events_details | xsd:string | Determines if subnodes of events will be visible. Possible values:
|
competition_id | xsd:string | It allows for comparison within matches played in selected competitions |
competitions_details | xsd:string | Determines if parent nodes of events will be visible. Possible values:
|
tz | xsd:string | Determines timezone for the output data |
...
Method calling examples
Link | Description | |||||
---|---|---|---|---|---|---|
https://api. | softnetsportstatscore.com/v2/participants/136928/compare | .xml?token={{YOUR_TOKEN}} | &sport_id=5&compare_participant_id=136929 | Returns comparisons between two participants in | XML formathttps://api.softnetsport.com/v2/participants/136928/compare?token={{YOUR_TOKEN}}&compare_participant_id=136929 | Returns comparisons between two participants in JSON format |
Output elements
participants |
---|
participants > participant |
---|
Participant type. Possible values:
- team
- person
Participant gender. Possible value:
- male
- female
- mixed (e.g for doubles in tennis)
Determines if participant is a national team. Possible values:
- yes
- no
| |||||||||||||||||||||
participants > participant > details | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
participants > participant > details > detail | |||||||||||||||||||||
|
|
head2head |
---|
head2head > all_matches_stats | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
head2head > last_10_matches_stats | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
head2head > h2h_events |
---|
Mini name of the competition. Max 3 characters in length e.g. U19
Competition gender. Possible values:
- male
- female
- mixed
- undefined
Competitions type. Possible values:
- country_league - e.g. Premier Division
- country_cups - e.g. FA Cup
- international - e,g. World Cup
- international_clubs - e.g. Champions League
- friendly - friendly matches
- individual - for speedway individual competitions such as Speedway GP
- team - for speedway national competitions
- single - for tennis competitions
- double - for tennis competitions
- mixed - for tennis competitions
- undefined - other
Type of area in which competitions are played. Possible values:
- country
- international
Determines the year of the season e.g.
- 1970
- 1970/71
- 1971
- 1971/72
- 2000
- 2000/01
- 2014
- 2014/15
Determines if the stage contains standings. Possible values:
- yes
- no
Possible values:
- yes
- no
Determines if the result of the event is updated only at full-time. Possible values:
- yes - result updated only when event is finished
- no - score is updated during the event
Type of event coverage. Possible values:
- venue - means the scout is relaying the event directly from the stadium
- tv - means the scout is relaying the event from a tv transmission
Information concerning scouts coverage. Possible values:
- yes
- no
Name of the event status
Type of the status. Possible values:
- live
- scheduled
- finished
- cancelled
- interrupted
- deleted
- other
Clock status. Possible value:
- running
- stopped
Possible value:
- active
- suspended
Relation status. Attribute for internal purposes. Possible value:
- not_started - for an event that has not started
- in_progress - for a live event
- finished - for an event that has finished
- 30_min_left - scout confirms his ability to deliver the coverage 30 min before the event
- 5_min_left - scout confirms his ability to deliver the coverage 5 min before the event
Determines if event is played at a neutral venue. Possible values:
- yes
- no
Describes status of the item (record). Possible values:
- active - the record is active
- deleted - the record was deleted by the admin. In the case of when an event was added by mistake
Possible value:
- yes - result is verified with official source
- no - result is not verified with official source
Possible values:
- yes
- no
- empty - if product/booked parameters not set.
When the value is 0 then event was autobooked.
Has value only when query parameter product is provided.
Participant gender. Possible values:
- male
- female
- mixed (e.g. for doubles in tennis)
Determines if participant is a national team. Possible values:
- yes
- no
head2head > h2h_events > competitions | |||||||
---|---|---|---|---|---|---|---|
head2head > h2h_events > competitions > competition | |||||||
| |||||||
head2head > h2h_events > competitions > competition > seasons | |||||||
head2head > h2h_events > competitions > competition > seasons > season | |||||||
| |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages | |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage | |||||||
| |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups | |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group | |||||||
| |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events | |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events > event | |||||||
| |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events > event > details | |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events > event > details > detail | |||||||
| |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants | |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant | |||||||
| |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > results | |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > results > result | |||||||
| |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > stats | |||||||
head2head > h2h_events > competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > stats > stat | |||||||
|