API-FOOTBALL

부분 유료
Verified
분류별 API-SPORTS | 업데이트됨 2달 전 | Sports
인기

9.9 / 10

지연 시간

400ms

서비스 수준

100%

모든 토론으로 돌아가기

Fixture status

X
Xat
2달 전

H guys,

I want to get all fixtures of the day that are planned or still in progress.

That’s how I do it :

fixtures = json.loads(requests.request(“GET”, "https://api-football-v1.p.rapidapi.com/v3/fixtures?date=2022-06-26&status=NS-1H-HT-2H-ET-LIVE, headers).text)

But I note in the response I get fixtures that are already terminated.
For instance, the fixture with id 845509 is in the response, while the fixture has been terminated hours ago.

Did I miss something there ?
Thanks a lot.
Regards.

X
Xat commented 2달 전

Alright, thanks.

I will add some checks regarding the starting date of the match to control it.

avatar
api-sports commented 2달 전

Hi,

Not all competitions have the livescore available and only have the final result which is updated within 24 hours after the match. That’s why you still have “NS” status

Best

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

새 댓글을 게시하려면 로그인 / 가입
등급: 4.1 - 투표: 15