Team Rankings (v2)
curl --request GET \
--url https://apiv2.sportxapi.com/cricket/api/v2/ranking/teamconst options = {method: 'GET'};
fetch('https://apiv2.sportxapi.com/cricket/api/v2/ranking/team', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apiv2.sportxapi.com/cricket/api/v2/ranking/team"
response = requests.get(url)
print(response.text){
"test": {
"men": {
"team": {
"matchType": "Test",
"rank": [
"[object]",
"[object]"
]
}
}
},
"oDI": {
"men": {
"team": {
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
}
},
"women": {
"team": {
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
}
}
},
"t20": {
"men": {
"team": {
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
}
},
"women": {
"team": {
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
}
}
}
}{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}Rankings
Team Rankings (v2)
Team rankings (v2).
GET
/
cricket
/
api
/
v2
/
ranking
/
team
Team Rankings (v2)
curl --request GET \
--url https://apiv2.sportxapi.com/cricket/api/v2/ranking/teamconst options = {method: 'GET'};
fetch('https://apiv2.sportxapi.com/cricket/api/v2/ranking/team', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apiv2.sportxapi.com/cricket/api/v2/ranking/team"
response = requests.get(url)
print(response.text){
"test": {
"men": {
"team": {
"matchType": "Test",
"rank": [
"[object]",
"[object]"
]
}
}
},
"oDI": {
"men": {
"team": {
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
}
},
"women": {
"team": {
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
}
}
},
"t20": {
"men": {
"team": {
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
}
},
"women": {
"team": {
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
}
}
}
}{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}Response
Successful Response (JSON)
The response is of type object.
