Closed pafi-code closed 10 months ago
can fix this, could I get this assigned?
As per https://developer.riotgames.com/apis#match-v5/GET_getMatchIdsByPUUID, the arguments are queue
and type
, not queueType
.
Closing issue. If the official docs are incorrect, feel free to reopen.
So from the riot docs see the screenshot:
I assumed the type
keyword is supposed to be used for this?! Or did I misunderstand its usage?
When I tried it in my package lol-stats it always failed with keyword type
. However when I changed it to queueType
it worked.
I believe that documentation is referring to the queue and queueType
field for the League-v4 endpoint e.g RANKED_SOLO_5x5
.
The argument type
is referring to the values normal
, ranked
, etc. if I'm not mistaken.
https://developer.riotgames.com/apis#match-v5/GET_getMatchIdsByPUUID
Okay I see. So I simply used wrong arguments for the keyword?! Luckily the API is documented so well... Thanks for clarification! I will try it when I have time and let you know if it worked for me.
There is a small change required in MatchApiV5.py.
The
type
argument should be changed toqueueType
following riot docs