module RiotGamesApi::LOL
Constants
- CHAMPIONS
how to generate list client.static_data.champion_all.data.each do |champion|
p "#{champion[1].name}: #{champion[1].id}"
end
remove all double quotes remove all single quotes remove all dots replace all letters to lower case replace space with underscore in champion names sort lines
- ITEMS
how to generate list client.static_data.item_all.data.each do |item|
p "#{item[1].name}: #{item[1].id}"
end
remove all double quotes remove all single quotes remove all dots remove all “()” replace all letters to lower case replace ‘enchantment: _’ with ‘enchantment_’ replace space with underscore in item names replace all “-” with “_” sort lines