API-FOOTBALL

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

10 / 10

レイテンシー

356ms

サービスレベル

99%

Health Check

N/A

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

Pagination and Live score grouping

Rapid account: Benpaul 320
benpaul320
hace 3 años

Pls how can i set pagination on live scores, fixture and league

and secondly the live scores, i want to group them by their leagues but it’s not stated on the documentation.
pls help on these two things thanks

Rapid account: Api Sports
api-sports Commented hace 3 años

Hi,

These endpoints are not paginated, so you get all the data in one API call. If you want to group them by league you have to do this “sorting” on your side.

It is possible to create an empty table and fill it with matches according to their league id. This is what we did for our widgets and in one call you have all the matches in progress grouped by competition.

Example here : https://www.api-football.com/widgets

Best

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

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