API-FOOTBALL

フリーミアム
Verified
よって API-SPORTS | 更新済み hace 12 días | Sports
人気

10 / 10

レイテンシー

366ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Leagues fetching returns duplicate entries

Rapid account: Theophilus
theophilus
hace 5 años

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 hace 5 años

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

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿