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.
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