API-FOOTBALL

FREEMIUM
Verified
Por API-SPORTS | Actualizada vor 12 Tagen | Sports
Popularidad

10 / 10

Latencia

366ms

Nivel de servicio

100%

Health Check

N/A

Volver a todas las conversaciones

Leagues fetching returns duplicate entries

Rapid account: Theophilus
theophilus
vor 5 Jahren

after fetching the leagues. the data returned has duplicate entries like if its EPL you’ll find showing 3 times.??? and total result comes to 293 leagues and as mentioned there are 100 leagues in coverage

Rapid account: Api Sports
api-sports Commented vor 5 Jahren

Hello,

Each league has a different ID per year which explains why you have 293 results instead of 100.
If you look at the details of the json answer you will see that the years differ according to the ID.

Check the documentation: https://market.mashape.com/api-sports/api-football#leagues

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios