nkl-kst / the-sports-db

PHP library to get sports data from TheSportsDB (https://www.thesportsdb.com)
MIT License
22 stars 3 forks source link

breaking changes #55

Closed zag2me closed 1 week ago

zag2me commented 3 weeks ago

For info, finally made some planned breaking changes:

Just a few field renames in the team table:

strTeamJersey --->> strKit strTeamBadge --> strBadge strTeamLogo --> strLogo strTeamFanart1 -- > strFanart1 strTeamFanart2 -- > strFanart2 strTeamFanart3 -- > strFanart3 strTeamFanart4 -- > strFanart4 strTeamBanner --> strBanner strStadiumLocation --> strLocation intStadiumCapacity ❌ strStadiumDescription ❌ strStadiumThumb ❌

nkl-kst commented 2 weeks ago

@zag2me thanks for this info and sorry for the late response. I'll try to fix this without introducing breaking changes in the lib.

intStadiumCapacity ❌ strStadiumDescription ❌ strStadiumThumb ❌

Where do I find these infos now? Because I'm using them heavily in my personal hobby project www.soccer-map.com.

nkl-kst commented 1 week ago

Where do I find these infos now? Because I'm using them heavily in my personal hobby project www.soccer-map.com.

I saw the new API endpoints:

I'll add these to this lib asap.

zag2me commented 1 week ago

Yep, there is also a lot of work on V2 of the API recently. Hopefully much cleaner now.

Still adding a few features though.

EDIT: We also store Coordinates for venues now, which you might find useful.