Site
Home / Forum / Developers / Spelling mistake "search_all_leagues"

Spelling mistake "search_all_leagues"


Posted: 11 May 2022 13:17
feelgood
Posts: 5
Joined: 2022-05-09

Good day,
the result of "https://www.thesportsdb.com/api/v1/json/2/search_all_leagues.php?c=England" is given with key "countrys".
Maybe it is even better to return the result as "leagues".

zag
Posted: 11 May 2022 13:37
feelgood
Posts: 5
Joined: 2022-05-09

There are also naming inconsistencies with the endpoint "https://www.thesportsdb.com/api/v1/json/2/lookuphonors.php".
Both "honor" and "honour" spellings are used.

zag
Posted: 12 May 2022 14:23

zag
Posts: 3,323
Joined: 2020-03-23

Nice catch! How embarrasing...

I'm a native English speaker as well!!

I've fixed all the issues and lets hope it doesnt break too many downstream. Honours is a quite recent addition but the all_league method may cause people issues as its a breaking change to what was a very stable API


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