SummonerAPI#getSummonerByName not working in 2 letters korean
namjug-kim opened this issue · 1 comments
namjug-kim commented
In the case of the Korean summoner's name, 3 letters, including a space, are possible.
The value of SUMMONER_NAME_PLACEHOLDER is set through A, excluding white spaces.
other case RIOT summoner v4 api works, bu in case of 2 letter korean, it doesn't work.
- search
삼재
excluding white spaces
1. request
curl --location --request GET 'https://kr.api.riotgames.com/lol/summoner/v4/summoners/by-name/삼재' \
--header 'X-Riot-Token: ${RIOT_TOKEN}'
=================
2. response
{
"status": {
"message": "Data not found - summoner not found",
"status_code": 404
}
}
- search
삼 재
including white spaces
1. request
curl --location --request GET 'https://kr.api.riotgames.com/lol/summoner/v4/summoners/by-name/삼 재' \
--header 'X-Riot-Token: ${RIOT_TOKEN}'
=================
2. response
{
"id": "AQFycDGccB-7F4yNqBJQm2SxUPN-BZEScORQxzaki6PYNfw",
"accountId": "KZq42AL80n6BD_HnzXUnRjgHm6zF-NfZeMY9eQT8oKwbn1DadlbSdyUW",
"puuid": "SK8_OVHyTfOW__-eKgdIjboBj_5BkSOwYh0iPYRsKfamHwSZ_c5H-T5OB6LKGmnncAkKn8bBJtZlwQ",
"name": "삼 재 ",
"profileIconId": 4629,
"revisionDate": 1621368768000,
"summonerLevel": 169
}
stelar7 commented
Fixed in 2.1.7