API-FOOTBALL

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

10 / 10

חֶבִיוֹן

369ms

רמת שירות

100%

Health Check

N/A

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

Help in assembling data on teams playing today

Rapid account: Wr 114052
wr114052
13 days ago

I’m developing a sports betting platform and I’m using this API to get data from the games that will happen today and tomorrow, the platform is Brazilian so it would be Brazilian series A, B and C, so I wanted to know how it works more or less for I get the data here because on this platform I didn’t find any endpoint that already does this for me, which shows the date, the league and the teams that are about to play

Rapid account: Api Sports
api-sports Commented 11 days ago

Hi,

To get all matches of a league with their information, you can use the ‘fixtures’ endpoint with the parameters league = league_id corresponding to the league you desire, and the parameter season.
https://www.api-football.com/documentation-v3#tag/Fixtures/operation/get-fixtures

To find the league id corresponding to your league, you can use the ‘leagues’ endpoint with the parameter country = Brazil, or by following this link
https://dashboard.api-football.com/soccer/ids

Best

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

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