API-FOOTBALL

免费增值
Verified
通过 API-SPORTS | 已更新 11일 전 | Sports
人气

10 / 10

延迟

366ms

服务等级

100%

Health Check

N/A

返回所有讨论

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

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论