lol-client-java-api
lol-client-java-api copied to clipboard
RIOT API Account Support
RIOT API Account Support
League Client is now providing new RIOT API Account information in the endpoint /lol-summoner/v1/current-summoner
call response.
This PR adds support for processing that information on the LolSummonerSummoner
entity; specifically 2 important elements GameName and Tag.
- Summoner names were removed on November 20th 2023. League of Legends will now use Riot IDs in their place.
- Summoner names have been transitioned out of the API responses starting April 8th 2024.
- Use Account-V1 by gameName/tagLine as a replacement for Summoner-V4 by-name endpoint. https://developer.riotgames.com/apis#account-v1/GET_getByRiotId
- You can use the PUUID from that endpoint with Summoner-V4 by-puuid to get the same summoner information as you were getting before https://developer.riotgames.com/apis#summoner-v4/GET_getByPUUID
You can read more about the transition here: https://www.riotgames.com/en/DevRel/summoner-names-to-riot-id
As you can see the old summoner name is still provided in the entity and the reponse of the endpoint but the new information is now being provided by the client, this will just add support for handling that information.