API-FOOTBALL

FREEMIUM
Verified
Par API-SPORTS | Mise à jour 2 days ago | Sports
Popularité

10 / 10

Latence

347ms

Niveau de service

99%

Health Check

N/A

Retour à toutes les discussions

Players statistics

how can i see players statistics in last 5 matches of team? do i need to get all matches of team, then store ids of last 5 matches, then have 5 requests of ‘get players statistics by team’ or fixture…?

Rapid account: St 0 Jkademo 12 Mf 4 Bq J Ghxl N
st0jkademo12-Mf4bqJGhxlN Commented 2 years ago

Thank you very much!

Rapid account: Api Sports
api-sports Commented 2 years ago

Hi,

Yes, that’s exactly how it should be done, but you can use the endpoint fixtures with these parameters to get the last games of a team:

fixtures?team={team_id}&last=5

Best

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires