web icon indicating copy to clipboard operation
web copied to clipboard

table `matches` doesn't contain leagueid for amateur leagues

Open DerMaddi opened this issue 5 years ago • 2 comments

Current Behavior When I use explorer to find matches of an amateur league (e.g. epulze: 12766) I get 0 results.

Expected behavior/code The query should return some games as you can see on dotabuff

Console Output There isn't any :)

Environment

  • Browser Version: Firefox 85.0.1
  • OS: Manjaro

Additional context/Screenshots Example code:

SELECT
    *
FROM matches
WHERE matches.leagueid = 12766
LIMIT 10

DerMaddi avatar Feb 11 '21 11:02 DerMaddi

We only track premium/professional leagues in this table to keep the size manageable.

howardchung avatar Feb 11 '21 13:02 howardchung

Thank you for your respone, I managed to get the information directly via Steam API: https://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/V001/?key=<key>&league_id=12766

DerMaddi avatar Feb 11 '21 14:02 DerMaddi