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


Spelling mistake "search_all_leagues"


Posted: 11 May 2022 13:17
feelgood
Editor
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
transparent spacer
Posted: 11 May 2022 13:37
feelgood
Editor
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
transparent spacer
Posted: 12 May 2022 14:23

zag
Admin
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

transparent spacer
Showing 0 to 3 (Total: 3)