Repo for scripts to help retrieve and analyze League of Legends player data.
- Create Google Sheet
- Navigate to Tools -> Script Editor
- Past Contents of code.gs into this Editor
- Replace the "key" on line 1 with a fresh key from https://developer.riotgames.com/
GETPLAYERDATA(NightKnight33)
Get Win Ratio for a summoner's last 20 games on a specific champion using champion ID (See https://developer.riotgames.com/docs/lol#data-dragon_champions to get link to champion ID)
GETPLAYERDATA(NightKnight33, 12)