API-FOOTBALL

פרמיום
Verified
על ידי API-SPORTS | מְעוּדכָּן 4 days ago | Sports
פּוֹפּוּלָרִיוּת

10 / 10

חֶבִיוֹן

356ms

רמת שירות

99%

Health Check

N/A

חזרה לכל הדיונים

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות