Site
Home / Forum / Developers / Events by season

Events by season


Posted: 02 Oct 2020 18:02


When pulling the full events by season:

All events in specific league by season (Free tier limited to 100 events)
https://www.thesportsdb.com/api/v1/json/1/eventsseason.php?id=4328&s=2014-2015

If I eliminate the season for MLB and NBA (as shown below):
https://www.thesportsdb.com/api/v1/json/4013017/eventsseason.php?id=4387

it pulls the most current season. Can it be like that for all sports? I'm looking specifically for NFL, NHL, and NCAA American football and basketball.

Posted: 16 Oct 2020 20:40


Is this something that is difficult to have work across other sports. NFL still does not show the current season when omitting. If so, I'll have to code around it on my end, but if it would be synonymous with NBA & MLB, that would work great.

Posted: 16 Oct 2020 21:39

zag


Posts: 3,515
Joined: 2020

Is this something that is difficult to have work across other sports. NFL still does not show the current season when omitting. If so, I'll have to code around it on my end, but if it would be synonymous with NBA & MLB, that would work great.

I think its because of the 2020 or 2020-2021 season types. You might have to code around that one as we can only auto guess simply really.


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)