128

rewind lol

by joblin barrel on The Tank Man 1699593159570


do you know why the guy that was maintaining rewind.lol removed the name change tracking? i dont know much about how it worked but i doubt riot removed the ability to track it...




128

You can ask him if you want (iaace on discord/pateron) but my guess is people were misusing it or riot asked him to stop? Riot definitely didn't take away the ability to see past names, because the API for getting info about a match (https://developer.riotgames.com/apis#match-v5/GET_getMatch) includes the names people in the match had at the time the match was played. Iirc rewind.lol gets your match history across multiple seasons, so it'd naturally have name changes from your old matches.

This site shows old names in parentheses (eg LookMyBigBrain), but it's limited to season 13 NA matches.

You could also write your own simple script to do it, which would be slower than rewind.lol was because rewind.lol stores a lot of old matches, but would still work. This also may only go back a limited number of matches though...maybe riot changed the matchlist by puuid API to only go back like a year and not all the way to season 5 or whatever idk.

I'll post the script in its own comment, to run it you need to go to https://developer.riotgames.com/ and generate a riot API key then copy it into the top of the script, and have python and requests/sys/time installed, then you run it like "python3 rewind.py joblinbarrel"

by thetankman 1699628197237

0

Also to speed it up instead of checking name in each game, this script checks the last 1 out of each 100 games

by thetankman 1699628266431

-1024

api_key = "RGAPI-8351c08b-4ef2-4778-8f0b-18f1a6fdffb2"

import requests import sys import time

def req_wrapper(req): time.sleep(1.25) resp = requests.get(req + api_key) return resp.json()

name = sys.argv[1]

sinfo = req_wrapper('https://na1.api.riotgames.com/lol/summoner/v4/summoners/by-name/' + name + '?api_key=')

puuid = sinfo['puuid']

namelist = set()

getMoreMatches = True matchNum = 0 while getMoreMatches: matchlist = req_wrapper('https://americas.api.riotgames.com/lol/match/v5/matches/by-puuid/' + puuid + '/ids?start=' + str(matchNum) + '&count=100' + '&api_key=') matchNum = matchNum + 100 if len(matchlist) < 100: getMoreMatches = False lastMatchId = matchlist[-1] matchInfo = req_wrapper('https://americas.api.riotgames.com/lol/match/v5/matches/' + lastMatchId + '?api_key=') participants = matchInfo['info']['participants'] for p in participants: if p['puuid'] == puuid: oldName = p['summonerName'] namelist.add(oldName) print(oldName)

print(namelist)

by thetankman 1699628279342

1664

api_key = "RGAPI-8351c08b-4ef2-4778-8f0b-18f1a6fdffb2"

import requests
import sys
import time

def req_wrapper(req):
        time.sleep(1.25)
        resp = requests.get(req + api_key)
        return resp.json()

name = sys.argv[1]

sinfo = req_wrapper('https://na1.api.riotgames.com/lol/summoner/v4/summoners/by-name/' + name + '?api_key=')

puuid = sinfo['puuid']

namelist = set()

getMoreMatches = True
matchNum = 0
while getMoreMatches:
        matchlist = req_wrapper('https://americas.api.riotgames.com/lol/match/v5/matches/by-puuid/' + puuid + '/ids?start=' + str(matchNum) + '&count=100' + '&api_key=')
        matchNum = matchNum + 100
        if len(matchlist) < 100:
                getMoreMatches = False
        lastMatchId = matchlist[-1]
        matchInfo = req_wrapper('https://americas.api.riotgames.com/lol/match/v5/matches/' + lastMatchId + '?api_key=')
        participants = matchInfo['info']['participants']
        for p in participants:
                if p['puuid'] == puuid:
                        oldName = p['summonerName']
                        namelist.add(oldName)
                        print(oldName)

print(namelist)

by thetankman 1699628387156

LegendsOfLeague isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.