API-FOOTBALL

FREEMIUM
Verified
Durch API-SPORTS | Aktualisiert 5 days ago | Sports
Popularität

10 / 10

Latenz

386ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

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

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen