API-FOOTBALL

부분 유료
Verified
분류별 API-SPORTS | 업데이트됨 il y a 9 jours | Sports
인기

10 / 10

지연 시간

364ms

서비스 수준

99%

Health Check

N/A

모든 토론으로 돌아가기

Pagination and Live score grouping

Rapid account: Benpaul 320
benpaul320
il y a 3 ans

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 il y a 3 ans

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

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

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