Site
Home / Forum / Developers / Bug in league list by country?

Bug in league list by country?


Posted: 15 Nov 2021 09:05
nkl-kst

Posts: 22
Joined: 2021

Hi,

any idea why

https://www.thesportsdb.com/api/v1/json/1/search_all_leagues.php?c=Worldwide&s=Soccer

only displays ten leagues? Eg. "FIFA World Cup" with ID 4429 isn't in the results. Compare this to the same request without filtering by sport category, where it is listed:

https://www.thesportsdb.com/api/v1/json/1/search_all_leagues.php?c=Worldwide

The same applies to other countries and isn't restrictet to "Worldwide", I did a short test with Germany and England.

Thanks
Nick

zag
Posted: 15 Nov 2021 10:04

zag


Posts: 3,515
Joined: 2020

Yes the "1" key is limited but I have fixed it on any patreon keys to be unlimited.

Posted: 15 Nov 2021 11:58
nkl-kst

Posts: 22
Joined: 2021

Yes the "1" key is limited but I have fixed it on any patreon keys to be unlimited.

Hey Zag,

thanks for the quick reply, unfortunately I can't confirm that. When using the Patreon key, I'm getting the same results as mentioned above =/

zag
Posted: 15 Nov 2021 13:42

zag


Posts: 3,515
Joined: 2020

Try again.

nkl-kst
Posted: 15 Nov 2021 14:22
nkl-kst

Posts: 22
Joined: 2021

Works now, great! Thank you!

zag

Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 5 (Total: 5)