Site
Home / Forum / Developers / Events by date and league

Events by date and league


Posted: 23 Jun 2021 08:45
gambling398
Posts: 3
Joined: 2021-05-28

Hi,
I have your patreon api and I want to look for events for a specific date and league.
Today (23.6.21) there are 4 events in Uefa european championships and when I run this:
https://www.thesportsdb.com/api/v1/json//eventsday.php?d=2021-06-23&l=UEFA%20European%20Championships
I am getting 2 events instead of 4.

i did some research and saw that the other 2 events are with the strLeague "Eurpean Championship" without the UEFA.

Do you have some API that I can look for events in a specific date and by league id and not league string?

Thanks

zag
Posted: 23 Jun 2021 09:59

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

Ahh nice find!

Yes we changed the name from "European Championships" to "UEFA European Championships" which explains the missing events on string lookup. I have normalized the data now.

It's strange I designed it with the League name, can't remember why I did that

I have updated so that you can also use the league ID now.

Example

https://www.thesportsdb.com/api/v1/json//eventsday.php?d=2021-06-23&l=4502

Posted: 23 Jun 2021 10:12
gambling398
Posts: 3
Joined: 2021-05-28

Thanks a lot for the quick reply and fix!

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