Resource information
URL | https://api.softnetsportstatscore.com/v2/participants/{participant_id}/compare | XSDhttps://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. | softnetsport.com/v2/participants/136928/compare.xml?token={{YOUR_TOKEN}}&sport_id=5&compare_participant_id=136929Returns comparisons between two participants in XML format | https://api.softnetsportstatscore.com/v2/participants/136928/compare?token={{YOUR_TOKEN}}&compare_participant_id=136929 | Returns comparisons between two participants in JSON format |
...
participants | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
participants > participant | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
participants > participant > details | |||||||||||||||||||||||||||||
participants > participant > details > detail | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
head2head | |||||||||||||||||||||||||||||
head2head > all_matches_stats | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
head2head > last_10_matches_stats | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
head2head > h2h_events | |||||||||||||||||||||||||||||
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 | |||||||||||||||||||||||||||||
|
...