-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetching only parsed ranked games #2840
Comments
We don't currently support filters on the parsed match list unfortunately |
Thanks for the quick reply.
I could work on a pull request that does this, would you be open to that?
… On 3. Feb 2025, at 22:37, Howard Chung ***@***.***> wrote:
We don't currently support filters on the parsed match list unfortunately
—
Reply to this email directly, view it on GitHub <#2840 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB47SNKNM3V7RBUGHGTB6WD2N7OQDAVCNFSM6AAAAABWNCXQHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMZSGEZTANBTGM>.
You are receiving this because you authored the thread.
|
Yes, happy to discuss potential implementations! Quick possiblity would probably be a new column in parsed_matches that has the game_mode and then insert the game_mode when we populate the field + add a query param to filter on game mode. An alternative would be to gather your list of ranked match IDs separately and then request parses for those matches. |
Great! I had something similar to your first suggestion in mind. You can assign this issue to me, if you want. I should have time in the upcoming days to create the pull request.
That'd work but how do I get the ranked match IDs separately using the API? I'm interested in analysing at least a few thousand games so manually creating a list out of option for me. |
The publicMatches endpoint does have a rank filter so you could probably use that |
Hi all,
I was wondering if there's a simple way to fetch the parsed ranked games, similar to the parsedMatches endpoint.
My current solution is to use
GET /parsedMatches
to get last parsed 100 game ids, useGET /matches/{match_id}
to get the games by id, and then filter out by the game mode. However, after the filtering I generally end up with only a few ranked games and this feels like a wasteful way to find data only for the ranked games.Cheers
The text was updated successfully, but these errors were encountered: