basic-livescore.index
Resource information
URL | https://api.statscore.com/v2/basic-livescore |
---|---|
Method | GET |
Description | Returns LIVE events' results related to sport |
Cache | 30 seconds |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
There are no method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
token | xsd:string | REQUIRED. There is more information concerning authorization in the API introduction section |
timestamp | xsd:unix_timestamp | REQUIRED. Selection date, format UNIX_TIMESTAMP. Only changes in events that occurred or were updated after this timestamp will be returned. The timestamp used in query can be at most 5 hours from the past. |
sport_id | xsd:int | Determines the sport identifier in which the events are played. Possibility to input multiple identifiers, separated by comma. The complete list of possible sports can be retrieved using the API resource: sports.index |
Method calling examples
Link | Description |
---|---|
https://api.statscore.com/v2/basic-livescore?token={{YOUR_TOKEN}} | Returns a list of all in progress (live) events in JSON format |
Method calling examples
Output elements
competitions | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
competitions > competition | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
competitions > competition > seasons | |||||||||||||||||||||||||
competitions > competition > seasons > season | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
competitions > competition > seasons > season > stages | |||||||||||||||||||||||||
competitions > competition > seasons > season > stages > stage | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
competitions > competition > seasons > season > stages > stage > events | |||||||||||||||||||||||||
competitions > competition > seasons > season > stages > stage > events > event | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
competitions > competition > seasons > season > stages > stage > events > event > participants | |||||||||||||||||||||||||
competitions > competition > seasons > season > stages > stage > events > event > participants > participant | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
competitions > competition > seasons > season > stages > stage > events > event > participants > participant > results | |||||||||||||||||||||||||
competitions > competition > seasons > season > stages > stage > events > event > participants > participant > results > result | |||||||||||||||||||||||||
|