API-FOOTBALL

FREEMIUM
Verified
By API-SPORTS | Updated 4 дня назад | Sports
Popularity

10 / 10

Latency

386ms

Service Level

100%

Health Check

N/A

Back to All Discussions

retrieve lsit of logos

Rapid account: Scoutrul
scoutrul
5 лет назад

I’m making component for list of live matches using /fixtures/live endpoint.
For all teams I want retrieve logos, so I need to use /teams/team/{team_id} endpoint for every team.
If here is 10 live events It is 1 request for event list and 20 requests for logo retrievements. Do you have better way to resolve this problem and get logotypes by one request array of team_id’s. Do you have post methods?

Rapid account: Scoutrul
scoutrul Commented 5 лет назад

Or I just need unlimited plan.
By the way, many teams unfortunly have no logos.
This is the better way to get all information from your side I think. You have to worry better about all logos and flags.

Rapid account: Api Sports
api-sports Commented 5 лет назад

Hello, the team information (logos, flags etc…) are in another database, linking them together when recovering data will increase latency. What you can do is to save the team information on your side or as the team logos have the team ID as their name it is easy to retrieve them without using the “teams” endpoint

Join in the discussion - add comment below:

Login / Signup to post new comments