Site
Home / Forum / Developers / Can only get league 1

Can only get league 1


Posted: 01 Nov 2024 23:13
TedTrippin

Posts: 1
Joined: 2024

Noobie here.

Did a UK league lookup and found Premier League has ID 4328. So Then I did a league lookup...

api/v1/json/3/lookupleague.php?id=4328

But it only returns league 1 results (id=4396). Setting the ID to any value always returns the same thing regardless.

Am I missing something?

Posted: 03 Nov 2024 18:55

zag


Posts: 3,511
Joined: 2020

Noobie here.

Did a UK league lookup and found Premier League has ID 4328. So Then I did a league lookup...

api/v1/json/3/lookupleague.php?id=4328

But it only returns league 1 results (id=4396). Setting the ID to any value always returns the same thing regardless.

Am I missing something?


Yes thats the free API example, patreon supporters get all leagues.


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