Pololalo
Posts: 21
Joined: Mon Nov 26, 2018 10:31 am

Re: Honours

Wed Jan 23, 2019 12:50 pm

Hi,
how to get honour icon.
https://www.thesportsdb.com/api/v1/json/1/lookuphonors.php?id=34147178

json Response:

"honors": [
{
"id": "11211",
"idPlayer": "34147178",
"idTeam": "134281",
"strSport": "Soccer",
"strPlayer": "Edenilson",
"strTeam": "Internacional",
"strHonour": "Brasileirao",
"strSeason": "2011"
}]

User avatar
zag
Site Admin
Posts: 699
Joined: Tue Oct 11, 2016 9:43 am

Re: Honours

Wed Jan 23, 2019 9:17 pm

Hi,

It should be the same as the https://www.thesportsdb.com/images/icons/honours/strHonour.png (change any spaces to underscores)

So for example:

Code: Select all

https://www.thesportsdb.com/images/icons/honours/Copa_Libertadores.png
https://www.thesportsdb.com/images/icons/honours/Brasileirao.png
https://www.thesportsdb.com/images/icons/honours/FIFA_Club_World_Cup.png
https://www.thesportsdb.com/images/icons/honours/Campeonato_Paulista.png
https://www.thesportsdb.com/images/icons/honours/CONMEBOL_Recopa_Sudamericana.png

Pololalo
Posts: 21
Joined: Mon Nov 26, 2018 10:31 am

Re: Honours

Thu Jan 24, 2019 11:07 am

zag wrote:Hi,

It should be the same as the https://www.thesportsdb.com/images/icons/honours/strHonour.png (change any spaces to underscores)

So for example:

Code: Select all

https://www.thesportsdb.com/images/icons/honours/Copa_Libertadores.png
https://www.thesportsdb.com/images/icons/honours/Brasileirao.png
https://www.thesportsdb.com/images/icons/honours/FIFA_Club_World_Cup.png
https://www.thesportsdb.com/images/icons/honours/Campeonato_Paulista.png
https://www.thesportsdb.com/images/icons/honours/CONMEBOL_Recopa_Sudamericana.png


Oh that's great. ;)

Pololalo
Posts: 21
Joined: Mon Nov 26, 2018 10:31 am

Re: Honours

Thu Jan 24, 2019 4:49 pm

hi zag
I have a little problem when I call url:
https://www.thesportsdb.com/api/v1/json/1/lookuphonors.php?id=34147178
with the api key test => 1 it works and when I use my api key it returns me 404 error :(

User avatar
zag
Site Admin
Posts: 699
Joined: Tue Oct 11, 2016 9:43 am

Re: Honours

Fri Jan 25, 2019 10:05 am

Pololalo wrote:hi zag
I have a little problem when I call url:
https://www.thesportsdb.com/api/v1/json/1/lookuphonors.php?id=34147178
with the api key test => 1 it works and when I use my api key it returns me 404 error :(


Thanks I forgot to apply the new API update to all users, hopefully it works now :)

Pololalo
Posts: 21
Joined: Mon Nov 26, 2018 10:31 am

Re: Honours

Fri Jan 25, 2019 10:24 am

zag wrote:Thanks I forgot to apply the new API update to all users, hopefully it works now :)


thank you zag,
I will test it, otherwise is it possible to have hnours for teams too?

User avatar
zag
Site Admin
Posts: 699
Joined: Tue Oct 11, 2016 9:43 am

Re: Honours

Fri Jan 25, 2019 10:53 am

Pololalo wrote:
zag wrote:Thanks I forgot to apply the new API update to all users, hopefully it works now :)


thank you zag,
I will test it, otherwise is it possible to have hnours for teams too?


Yes thats a good idea :mrgreen: This is already on my todo list.

User avatar
Ovokx
Site Admin
Posts: 414
Joined: Mon Jan 23, 2017 6:03 pm
Location: Spain

Re: Honours

Thu Apr 25, 2019 6:14 pm

Ovokx wrote:Hi zag,

I have found some NHL honours where the link to the images are broken. See Alex Ovechkin profile as an example (https://www.thesportsdb.com/player/34154833).

Here you can download the logos:

https://filebin.net/e3llwq71jhh0kw2g

;)


reminder ;)

User avatar
Ovokx
Site Admin
Posts: 414
Joined: Mon Jan 23, 2017 6:03 pm
Location: Spain

Re: Honours

Tue Jun 11, 2019 6:11 pm

Hi Zag,

Some new honours to be added, please:

UEFA Nations League
FIFA Womens World Cup
CONMEBOL Sudamericana
AFC Championship
NFC Championship


https://file.io/ZiN7cv


TY!

Return to “General Discussion”