Browse Champions of League of Legends on Data Dragon
- Emacs 25.1
Download and decompress the ddragon file, then point lol-data-dragon-dir to it, for example,
cd
wget https://ddragon.leagueoflegends.com/cdn/dragontail-10.3.1.tgz
mkdir dragontail-10.3.1
tar xvzf dragontail-10.3.1.tgz -C dragontail-10.3.1(setq lol-data-dragon-dir "~/dragontail-10.3.1/")10.3.1 is the latest version as of today, Feb 13, 2020, you can find out the latest version on https://ddragon.leagueoflegends.com/api/versions.json e.g.,
~/s/lol-data-dragon.el $ curl -s https://ddragon.leagueoflegends.com/api/versions.json | jq -r .[0]
10.3.1
~/s/lol-data-dragon.el $Show all champions using image-dired.
Display abilities (passive and QWER) of a champion.
Display all skins of a champion.
Display all tiles of a champion.
Display N random tiles.
List all champions in Org mode table.
Return a list of champions IDs.
(lol-data-dragon-champions)
;; => ("Aatrox" "Ahri" "Akali" "Alistar" "Amumu" "Anivia" "Annie" "Aphelios" "Ashe" ...)Return all champions' data in LANG as a list.
(let-alist (alist-get 'Teemo (lol-data-dragon-champions-data "zh_CN"))
.name)
;; => "迅捷斥候"- https://developer.riotgames.com/ddragon.html (Data Dragon API)
- https://na.leagueoflegends.com/en/game-info/champions/ (en_US champions list)
- https://lol.qq.com/data/info-heros.shtml (zh_CN champions list)
- https://lol.garena.tw/game/champion (zh_TW champions list)
