LoLdleData rewritten in Go — fetches League of Legends champion data from Riot's Data Dragon API and outputs a structured JSON file for use in loldle.
For each champion, the tool collects:
- Name, title, resource type (Mana, Energy, etc.)
- Genre / class (Fighter, Mage, Assassin, …)
- Attack type (Melee / Ranged)
- Gender
- Release year
- Region (from community-maintained data)
- Role / lane (Top, Mid, ADC, Support, Jungle)
- Skin count
go run .Outputs champions.json in the current directory. Requires internet access to reach ddragon.leagueoflegends.com.
{
"id": "Aatrox",
"name": "Aatrox",
"title": "the Darkin Blade",
"resource": "Blood Well",
"genre": "Fighter",
"skinCount": 41,
"gender": "male",
"attackType": "close",
"releaseDate": 2013,
"region": "runeterra",
"lane": "top"
}A human-readable CHAMPIONS.md table is also generated alongside the JSON.
- loldle — the Wordle-style LoL guessing game that consumes this data.
Apache-2.0 — see LICENSE.