API-FOOTBALL

FREEMIUM
Verified
Door API-SPORTS | Bijgewerkt 11日前 | Sports
Populariteit

10 / 10

Latency

366ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

Leagues fetching returns duplicate entries

Rapid account: Theophilus
theophilus
5年前

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 5年前

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

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen