API-FOOTBALL

FREEMIUM
Verified
Par API-SPORTS | Mise à jour 7 days ago | Sports
Popularité

10 / 10

Latence

357ms

Niveau de service

99%

Health Check

N/A

Retour à toutes les discussions

retrieve lsit of logos

Rapid account: Scoutrul
scoutrul
5 years ago

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 years ago

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 years ago

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

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires