Site
Home / Forum / Developers / Both teams badge and their nickname should be included in events

Both teams badge and their nickname should be included in events


Posted: 26 Mar 2024 14:16
flexible
Posts: 6
Joined: 2023-08-25

teams badge and their nicknames should be in the events. e.g Manchester United vs Everton
homeStrBadge and awayStrBadge should be included, also their nicknames or alternative names.

Thanks

zag
Posted: 26 Mar 2024 14:19

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

teams badge and their nicknames should be in the events. e.g Manchester United vs Everton
homeStrBadge and awayStrBadge should be included, also their nicknames or alternative names.

Thanks


Yes its been mentioned before, would certainly help reduce api lookups but its hard to change the API in production.

For now you can lookup the artwork with another API call to the team api.

Posted: 26 Mar 2024 15:19

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

I've actually added the database fields for this, I will see what can be done.

Events table now has:

strHomeTeamBadge
strAwayTeamBadge


Posted: 26 Mar 2024 16:08

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

I've updated some of the importers as well. Lets see how it goes.

Posted: 27 Mar 2024 01:14
flexible
Posts: 6
Joined: 2023-08-25

I've updated some of the importers as well. Lets see how it goes.
i love you guys, thanks

zag

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