API-FOOTBALL

फ्रीमियम
द्वारा API-SPORTS | अपडेट किया गया לפני 5 ימים | Sports
लोकप्रियता

10 / 10

लेटेंसी

386ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Pagination and Live score grouping

Rapid account: Benpaul 320
benpaul320
לפני שנתיים

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 לפני שנתיים

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

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें