Api-Football-Beta

פרמיום
Verified
על ידי API-SPORTS | מְעוּדכָּן לפני 20 ימים | Sports
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

401ms

רמת שירות

99%

Health Check

N/A

חזרה לכל הדיונים

Fixture ID for prediction.

Rapid account: Mariosaba 9
mariosaba9
לפני 4 חודשים

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 חודשים

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות