Site
Home / Forum / Developers / Get All Leagues by Sport

Get All Leagues by Sport


Posted: 17 Apr 2020 10:34

cydalby
Posts: 188
Joined: Mar 2019

Is there a limit on results that can be returned from the request
https://www.thesportsdb.com/api/v1/json/${apiKey}/search_all_leagues.php?s=Soccer
?

The response seems to stop at Estonian Meistriliiga.

Posted: 17 Apr 2020 11:12

zag
Posts: 1,558
Joined: Oct 2016

Yes I would imagine so, That was built a long time before we had so many teams!

Its much better to query via the league I think.

EDIT: Oh I just saw it returns the leagues! I will take a look...

Posted: 17 Apr 2020 12:18

cydalby
Posts: 188
Joined: Mar 2019

Yeah I'm wanting a list of all the leagues in the db for sorting purposes!

Posted: 18 Apr 2020 08:49

zag
Posts: 1,558
Joined: Oct 2016

Should be fixed if you use the new API I gave you on the v1 API.

Posted: 18 Apr 2020 09:01

cydalby
Posts: 188
Joined: Mar 2019

Should be fixed if you use the new API I gave you on the v1 API.
Amazing, should I use this new key for every api going forward?

Thanks

Posted: 18 Apr 2020 14:37

zag
Posts: 1,558
Joined: Oct 2016


Amazing, should I use this new key for every api going forward?

Thanks


Yes


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 6 (Total: 6)