You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also checked that this is the case for other leagues, i tried different league ids but all empty.
The text was updated successfully, but these errors were encountered:
anandmudgerikar
changed the title
Empty match data returned on https://api.opendota.com/api/leagues/{league_id}/matches requests
Empty match data returned when searching for matches and teams from a specific league
Dec 7, 2024
Gotcha. Any recommendations for getting this info some other way? I do see that all the league matches are marked with league_id, can I query the matches table directly?
I am trying to build a ranking system for my amateur league and running into issues when loading match data for my league.
The api call for getting league info works fine:
request: https://api.opendota.com/api/leagues/16585
response: {'leagueid': 16585, 'ticket': None, 'banner': None, 'tier': 'excluded', 'name': 'AD2L Season 41'}
However, when trying to get matches and teams info for this league, the api returns empty responses.
request: https://api.opendota.com/api/leagues/16585/matches
response: []
request: https://api.opendota.com/api/leagues/16585/teams
response: []
I also checked that this is the case for other leagues, i tried different league ids but all empty.
The text was updated successfully, but these errors were encountered: