Api-Football-Beta

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

9.9 / 10

지연 시간

418ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Fixture ID for prediction.

Rapid account: Mariosaba 9
mariosaba9
4 months ago

Can someone make me one example to obtain fixture ID for prediction Please?
For example on the site there is this code line:
conn.request(“GET”, “/predictions?fixture=157462”, headers=headers).
I can’t figure out how to get the number 157462.
Best regards.

Rapid account: Api Sports
api-sports Commented 4 months ago

Hi,

Fixtures ids can be obtained via the endpoint fixtures you just have to call this endpoint with the different parameters available like date, live, league& season(To get the list of league ids you have to go through the endpoint leagues without parameters you get them all and their associated season. Once you’ve done that and called the fixtures endpoint, you’ll get the list of ids you want, which you can use in the predictions endpoint.

Best

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

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