API-FOOTBALL

FREEMIUM
Verified
Door API-SPORTS | Bijgewerkt 4 days ago | Sports
Populariteit

10 / 10

Latency

356ms

Serviceniveau

99%

Health Check

N/A

Terug naar alle discussies

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

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen