A league's current season name, e.g. "2026-2027"; null if the league is unknown.
The channels showing an event. Free keys: at most 2.
Events starting on day in IANA time zone timeZone (e.g. "America/Toronto"). The API files
events under their UTC date, so a local day can span two API days; this fetches each UTC day it
overlaps and keeps the events that start on the local day. Free keys: at most 3 per UTC day.
A league's teams with badges. Free keys: looks up the league name, then up to 10 teams.
Games in progress. Premium: v2. Free keys: v1's undocumented feed, which needs a sport; for a
league, its sport is looked up and the feed filtered. Entries can be stale: check updated.
A league's latest results. Premium: about 20. Free keys: 1.
One round (matchday). Premium: filtered from the season. Free keys: eventsround.php (undocumented; the whole round). Premium keys get 404 from that endpoint, hence two routes.
Optionalseason: stringEvery event of a season (default: current). Premium: one call. Free keys: the first 5.
Optionalseason: stringA team's schedule. Premium: past and future, all competitions. Free keys: next + last, home games only.
Common tasks in one call. Each helper uses v2 with a premium key and v1 with a free key (then the free keys' small limits apply). Any key other than the free keys that the API accepts is a paid key, so no extra call is made to find out. Events come back sorted by start time.