API-FOOTBALL

FREEMIUM
Verified
Por API-SPORTS | Actualizada hace 19 horas | Sports
Popularidad

10 / 10

Latencia

373ms

Nivel de servicio

100%

Health Check

N/A

Volver a todas las conversaciones

How often does the database update for queries?

Rapid account: Buzapeter
buzapeter
hace un mes

Unfortunately, I’m not well-versed in soccer, but my colleague says yesterday (2024-03-27) the Polish, Georgian, and Ukrainian teams qualified for EURO 2024.

I made this request:

const options = {
method: ‘GET’,
url: ‘https://api-football-v1.p.rapidapi.com/v3/teams’,
params: {
league: ‘4’,
season: ‘2024’
},
headers: {
‘X-RapidAPI-Key’: process.env.RAPID_API_KEY,
‘X-RapidAPI-Host’: process.env.RAPID_API_HOST
}
};

And there are still 21 teams in the list. (It need to be 24). This is not a problem yet, but what’s important to me is to be able to extract from the /standings endpoint which teams were ELIMINATED from the championship in real-time. Also, what were the match results.

Thank you. 😃

Rapid account: Api Sports
api-sports Commented hace un mes

Hi,

All ours endpoints have a cache, but with different duration, For fixture it’s a 10s cache, for Standings it’s 45 minutes. For teams enpoint it’s 12h.

You have the recommended call available in the API, and also the updates frequency.

Best

Rapid account: Buzapeter
buzapeter Commented hace un mes

Thank you for the fast answer 😃
I think the match results is not working with caches, (as I read it is live)
And the /standings is working this way? So when a team eleminated from the Matchdays I want to inform my users about that.
The questions are:

Is it updating next day after the team eleminated (when the cache cleared), or is it updating immediately?
Is it enogh to know which teams eleminated to each on all standings in array and if the description is null AND goalsDiff is not 0, then that team is eleminated?

I want to prepare before the start of the project.

Thank you for all 😃

Rapid account: Api Sports
api-sports Commented hace un mes

Hi,

The Fixtures was added today to the API, so the teams list should available during the day. This is linked to the cache on the endpoints. Once the cache has been cleared, the data will be available.

Best

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios