API-FOOTBALL

부분 유료
Verified
분류별 API-SPORTS | 업데이트됨 14 days ago | Sports
인기

10 / 10

지연 시간

369ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

can not get the response with fixtureID

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 years ago

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 years ago

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 years ago

My purpose that is getting “Shots on Goal”

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입