API-FOOTBALL

부분 유료
Verified
분류별 API-SPORTS | 업데이트됨 12日前 | 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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입