API-FOOTBALL

ÜCRETSİZ PREMIUM
Verified
Taraf API-SPORTS | Güncelleyen 14 दिन पहले | Sports
Popülerlik

10 / 10

Gecikme

369ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

can not get the response with fixtureID

Rapid account: Nurdankaramann 1 H 1 Mt Ab 7 Y 9 M
nurdankaramann-1h1MtAb7y9M
2 वर्ष पहले

I can not get the response like this :
Fixture id belong live match.

What s the reason ?

fetch(“https://api-football-v1.p.rapidapi.com/v3/fixtures/statistics?fixture=7809993”, {
“method”: “GET”,
“headers”: {
“x-rapidapi-host”: “api-football-v1.p.rapidapi.com”,
“x-rapidapi-key”: “XXXXXXXXXX”
}
})

Rapid account: Nurdankaramann 1 H 1 Mt Ab 7 Y 9 M
nurdankaramann-1h1MtAb7y9M Commented 2 वर्ष पहले

here fixtureID=770975 and league id= 172 and I called this :https://api-football-v1.p.rapidapi.com/v3/leagues?id=172 and atistics_fixtures is coming true . After I called with this fixtureID “https://api-football-v1.p.rapidapi.com/v3/fixtures/statistics?fixture=770975” still can not get the response.

“fixture”: {
“id”: 770975,
“referee”: null,
“timezone”: “UTC”,
“date”: “2021-12-02T13:00:00+00:00”,
“timestamp”: 1638450000,
“periods”: {
“first”: 1638450000,
“second”: null
},
“venue”: {
“id”: 10547,
“name”: “Huvepharma Arena”,
“city”: “Razgrad”
},
“status”: {
“long”: “First Half”,
“short”: “1H”,
“elapsed”: 12
}
},
“league”: {
“id”: 172,
“name”: “A PFG”,
“country”: “Bulgaria”,
“logo”: “https://media.api-sports.io/football/leagues/172.png”,
“flag”: “https://media.api-sports.io/flags/bg.svg”,
“season”: 2021,
“round”: “Regular Season - 17”
},

					0:{5 items

“year”:2018
"start":“2018-07-20"
“end”:“2019-05-28"
“current”:false
"coverage”:{9 items
"fixtures”:{4 items
"events":true
"lineups":true
"statistics_fixtures":true
"statistics_players":false
}
“standings”:true

Rapid account: Api Sports
api-sports Commented 2 वर्ष पहले

Hi,

This fixture id don’t existe in the API. And for other fixtures you can check if the competition cover this feature by calling the endpoint “leagues” field “coverage” ==> https://www.api-football.com/documentation-v3#operation/get-leagues

Best

Rapid account: Nurdankaramann 1 H 1 Mt Ab 7 Y 9 M
nurdankaramann-1h1MtAb7y9M Commented 2 वर्ष पहले

My purpose that is getting “Shots on Goal”

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun