API-FOOTBALL

FREEMIUM
Verified
By API-SPORTS | Updated 5 giorni fa | Sports
Popularity

10 / 10

Latency

356ms

Service Level

99%

Health Check

N/A

Back to All 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 anni fa

Thank you very much!

Rapid account: Api Sports
api-sports Commented 2 anni fa

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

Join in the discussion - add comment below:

Login / Signup to post new comments