Endpoint:
/leagues/
Parameters:
page - Change the page to get all data.
Return:
{
"success": true,
- success in retrieving the information
"pager": {
"page": "0",
- actual page
"perPage": 100,
- objects per page
"total": 1494
- total objects
},
"results": [
{
"id": 16112,
- League ID
"name": "Australia New South Wales League 2",
- League Name
"cc": "au"
- League country
},
}
Endpoint:
/leagues/{id}
Parameters:
id - League ID.
Return:
{
"success": true,
- success in retrieving the information
"results": [
{
"id": 16112,
- League ID
"name": "Australia New South Wales League 2",
- League Name
"cc": "au"
- League country
},
}
Endpoint:
/matches/
Parameters:
date - Date from which you want to have information.
page - Change the page to get all data.
Return:
{
"success": true,
- success in retrieving the information
"pager": {
"page": "0",
- actual page
"perPage": 100,
- objects per page
"total": 1494
- total objects
},
"results": [
{
"id": 195438,
- Match ID
"time": 1652025600,
- Time in UNIX TIMESTAMP
"status": 3,
- Match Status
"league": {
"id": 221,
- League ID
"name": "Russia Premier League",
- League Name
"cc": "ru"
- League country
},
"home": {
"id": 5513,
- Home Team ID
"name": "Lokomotiv Moscow",
- Home Team Name
"cc": "ru"
- Home Team Country
},
"away": {
"id": 7509,
- Away Team ID
"name": "Rubin Kazan",
- Away Team Name
"cc": "ru"
- Away Team Country
}
},
]
}
Endpoint:
/leagues/{id}
Parameters:
id - League ID.
Return:
{
"success": true,
- success in retrieving the information
"results": [
{
"id": 195438,
- Match ID
"time": 1652025600,
- Time in UNIX TIMESTAMP
"status": 3,
- Match Status
"league": {
"id": 221,
- League ID
"name": "Russia Premier League",
- League Name
"cc": "ru"
- League country
},
"home": {
"id": 5513,
- Home Team ID
"name": "Lokomotiv Moscow",
- Home Team Name
"cc": "ru"
- Home Team Country
"overs": {
"over_05": 0.8,
- Over 0.5 Goals %
"over_15": 0.6,
- Over 1.5 Goals %
"over_25": 0.25,
- Over 2.5 Goals %
"over_35": 0.25,
- Over 3.5 Goals %
"over_45": 0.05
- Over 4.5 Goals %
"goals_avg: 1.45,
- Goals AVG
}
},
"away": {
"id": 7509,
- Away Team ID
"name": "Rubin Kazan",
- Away Team Name
"cc": "ru"
- Away Team Country
"overs": {
"over_05": 0.7,
- Over 0.5 Goals %
"over_15": 0.45,
- Over 1.5 Goals %
"over_25": 0.05,
- Over 2.5 Goals %
"over_35": 0,
- Over 3.5 Goals %
"over_45": 0,
- Over 4.5 Goals %
"goals_avg: 1,
- Goals AVG
}
},
"stats": {
"attacks": [
"0",
- Home Stats
"0"
- Away Stats
],
"dangerous_attacks": [
"0",
"0"
],
"off_target": [
"0",
"0"
],
"on_target": [
"3",
"0"
],
"corners": [
"1",
"5"
],
"goals": [
"2",
"0"
],
"yellow_cards": [
"0",
"3"
],
"red_cards": [
"0",
"1"
],
"substitutions": [
"5",
"3"
],
"penalties": [
"1",
"0"
]
}
},
]
}