Site
Home / Forum / Developers / Events for current season of DFB-Pokal

Events for current season of DFB-Pokal


Posted: 30 Oct 2024 06:24
nkl-kst

Posts: 22
Joined: 2021

Hi,

when calling this URI

https://www.thesportsdb.com/api/v1/json/3/eventsseason.php?id=4485

to get the current events of the DFB-Pokal, I get three outdated events from the season 2017-2018 (btw they are all the same with different event IDs).

Currently it's necessary to add the "s=2024-2025" query param to get events for the actual current season. This is a different behaviour compared to other leagues. E.g.

https://www.thesportsdb.com/api/v1/json/3/eventsseason.php?id=4331

for the Bundesliga works like a charm. Is this intended?

Posted: 30 Oct 2024 06:37
curswine


Posts: 935
Joined: 2020

The API page https://www.thesportsdb.com/free_sports_api only lists /api/v1/json/3/eventsseason.php?id=4424&s=2019 for use as eventsseason, so it is should always be used with the season.

Posted: 02 Nov 2024 06:01
nkl-kst

Posts: 22
Joined: 2021

so it should always be used with the season.

Thanks for this information.

I assumed that there is some kind of default behaviour when the season parameter is omitted and that it is the same for all leagues, returning the current season.


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)