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
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
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,942 Joined: 2020
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