Module: RiotGamesApi::LOL

Defined in:
lib/riot_games_api/lol/model.rb,
lib/riot_games_api/lol/client.rb,
lib/riot_games_api/lol/resource.rb,
lib/riot_games_api/lol/model/team.rb,
lib/riot_games_api/lol/model/game.rb,
lib/riot_games_api/lol/model/stats.rb,
lib/riot_games_api/lol/model/league.rb,
lib/riot_games_api/lol/resource/team.rb,
lib/riot_games_api/lol/resource/game.rb,
lib/riot_games_api/lol/resource/base.rb,
lib/riot_games_api/lol/model/champion.rb,
lib/riot_games_api/lol/constant/items.rb,
lib/riot_games_api/lol/model/summoner.rb,
lib/riot_games_api/lol/resource/stats.rb,
lib/riot_games_api/lol/model/team/team.rb,
lib/riot_games_api/lol/model/game/game.rb,
lib/riot_games_api/lol/resource/league.rb,
lib/riot_games_api/lol/model/game/player.rb,
lib/riot_games_api/lol/model/static_data.rb,
lib/riot_games_api/lol/model/team/roster.rb,
lib/riot_games_api/lol/resource/summoner.rb,
lib/riot_games_api/lol/resource/champion.rb,
lib/riot_games_api/lol/constant/champions.rb,
lib/riot_games_api/lol/model/corecion/time.rb,
lib/riot_games_api/lol/model/league/league.rb,
lib/riot_games_api/lol/model/summoner/name.rb,
lib/riot_games_api/lol/model/team/team_list.rb,
lib/riot_games_api/lol/model/game/raw_stats.rb,
lib/riot_games_api/lol/resource/static_data.rb,
lib/riot_games_api/lol/model/static_data/map.rb,
lib/riot_games_api/lol/model/game/recent_game.rb,
lib/riot_games_api/lol/model/static_data/item.rb,
lib/riot_games_api/lol/model/summoner/mastery.rb,
lib/riot_games_api/lol/model/static_data/info.rb,
lib/riot_games_api/lol/model/static_data/gold.rb,
lib/riot_games_api/lol/model/static_data/rune.rb,
lib/riot_games_api/lol/model/static_data/skin.rb,
lib/riot_games_api/lol/model/summoner/summoner.rb,
lib/riot_games_api/lol/model/static_data/group.rb,
lib/riot_games_api/lol/model/static_data/block.rb,
lib/riot_games_api/lol/model/static_data/realm.rb,
lib/riot_games_api/lol/model/champion/champion.rb,
lib/riot_games_api/lol/model/static_data/stats.rb,
lib/riot_games_api/lol/model/static_data/image.rb,
lib/riot_games_api/lol/model/league/league_list.rb,
lib/riot_games_api/lol/model/summoner/rune_slot.rb,
lib/riot_games_api/lol/model/stats/ranked_stats.rb,
lib/riot_games_api/lol/model/league/mini_series.rb,
lib/riot_games_api/lol/model/summoner/rune_page.rb,
lib/riot_games_api/lol/model/static_data/passive.rb,
lib/riot_games_api/lol/model/static_data/mastery.rb,
lib/riot_games_api/lol/model/league/league_entry.rb,
lib/riot_games_api/lol/model/team/message_of_day.rb,
lib/riot_games_api/lol/model/stats/champion_stats.rb,
lib/riot_games_api/lol/model/static_data/champion.rb,
lib/riot_games_api/lol/model/static_data/item_list.rb,
lib/riot_games_api/lol/model/static_data/item_tree.rb,
lib/riot_games_api/lol/model/static_data/meta_data.rb,
lib/riot_games_api/lol/model/summoner/mastery_page.rb,
lib/riot_games_api/lol/model/team/team_member_info.rb,
lib/riot_games_api/lol/model/static_data/level_tip.rb,
lib/riot_games_api/lol/model/team/team_stat_detail.rb,
lib/riot_games_api/lol/model/static_data/rune_list.rb,
lib/riot_games_api/lol/model/static_data/spell_vars.rb,
lib/riot_games_api/lol/model/stats/aggregated_stats.rb,
lib/riot_games_api/lol/model/static_data/basic_data.rb,
lib/riot_games_api/lol/model/team/team_stat_summary.rb,
lib/riot_games_api/lol/model/static_data/block_item.rb,
lib/riot_games_api/lol/model/static_data/map_details.rb,
lib/riot_games_api/lol/model/static_data/recommended.rb,
lib/riot_games_api/lol/model/summoner/rune_page_list.rb,
lib/riot_games_api/lol/model/static_data/mastery_list.rb,
lib/riot_games_api/lol/model/static_data/mastery_tree.rb,
lib/riot_games_api/lol/model/static_data/champion_list.rb,
lib/riot_games_api/lol/model/team/match_history_summary.rb,
lib/riot_games_api/lol/model/static_data/champion_spell.rb,
lib/riot_games_api/lol/model/static_data/summoner_spell.rb,
lib/riot_games_api/lol/model/stats/player_stats_summary.rb,
lib/riot_games_api/lol/model/summoner/mastery_page_list.rb,
lib/riot_games_api/lol/model/static_data/language_string.rb,
lib/riot_games_api/lol/model/static_data/basic_data_stats.rb,
lib/riot_games_api/lol/model/static_data/mastery_tree_list.rb,
lib/riot_games_api/lol/model/static_data/mastery_tree_item.rb,
lib/riot_games_api/lol/model/static_data/summoner_spell_list.rb,
lib/riot_games_api/lol/model/stats/player_stats_summary_list.rb,
lib/riot_games_api/lol/model/static_data/champion_list_data_by_id.rb,
lib/riot_games_api/lol/model/static_data/summoner_spell_list_data_by_id.rb

Defined Under Namespace

Modules: Model, Resource Classes: Client

Constant Summary

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

{
 abyssal_scepter: 3001,
 aegis_of_the_legion: 3105,
 aether_wisp: 3113,
 amplifying_tome: 1052,
 ancient_coin: 3301,
 archangels_staff: 3003,
 archangels_staff_crystal_scar: 3007,
 ardent_censer: 3504,
 athenes_unholy_grail: 3174,
 b_f_sword: 1038,
 bamis_cinder: 3751,
 banner_of_command: 3060,
 banshees_veil: 3102,
 berserkers_greaves: 3006,
 berserkers_greaves_enchantment_alacrity: 1301,
 berserkers_greaves_enchantment_captain: 1302,
 berserkers_greaves_enchantment_distortion: 1303,
 berserkers_greaves_enchantment_furor: 1300,
 berserkers_greaves_enchantment_homeguard: 1304,
 bilgewater_cutlass: 3144,
 blade_of_the_ruined_king: 3153,
 blasting_wand: 1026,
 boots_of_mobility: 3117,
 boots_of_mobility_enchantment_alacrity: 1326,
 boots_of_mobility_enchantment_captain: 1327,
 boots_of_mobility_enchantment_distortion: 1328,
 boots_of_mobility_enchantment_furor: 1325,
 boots_of_mobility_enchantment_homeguard: 1329,
 boots_of_speed: 1001,
 boots_of_swiftness: 3009,
 boots_of_swiftness_enchantment_alacrity: 1306,
 boots_of_swiftness_enchantment_captain: 1307,
 boots_of_swiftness_enchantment_distortion: 1308,
 boots_of_swiftness_enchantment_furor: 1305,
 boots_of_swiftness_enchantment_homeguard: 1309,
 brawlers_gloves: 1051,
 catalyst_the_protector: 3010,
 caulfields_warhammer: 3133,
 chain_vest: 1031,
 chalice_of_harmony: 3028,
 cloak_of_agility: 1018,
 cloth_armor: 1029,
 corrupting_potion: 2033,
 crystalline_bracer: 3801,
 cull: 1083,
 dagger: 1042,
 dead_mans_plate: 3742,
 deaths_dance: 3812,
 deaths_daughter: 3902,
 dervish_blade: 3137,
 diet_poro_snax: 2054,
 dorans_blade: 1055,
 dorans_blade_showdown: 1075,
 dorans_ring: 1056,
 dorans_ring_showdown: 1076,
 dorans_shield: 1054,
 dorans_shield_showdown: 1074,
 elixir_of_iron: 2138,
 elixir_of_sorcery: 2139,
 elixir_of_wrath: 2140,
 enchantment_alacrity: 3241,
 enchantment_captain: 3242,
 stalkers_blade_enchantment_cinderhulk: 1401,
 trackers_knife_enchantment_cinderhulk: 1409,
 skirmishers_sabre_enchantment_cinderhulk: 1413,
 enchantment_cinderhulk: 3672,
 stalkers_blade_enchantment_devourer: 1403,
 trackers_knife_enchantment_devourer: 1411,
 skirmishers_sabre_enchantment_devourer: 1415,
 enchantment_devourer: 3674,
 enchantment_distortion: 3243,
 enchantment_furor: 3240,
 enchantment_homeguard: 3244,
 stalkers_blade_enchantment_runeglaive: 1402,
 trackers_knife_enchantment_runeglaive: 1410,
 skirmishers_sabre_enchantment_runeglaive: 1414,
 enchantment_runeglaive: 3673,
 stalkers_blade_enchantment_sated_devourer: 3930,
 skirmishers_sabre_enchantment_sated_devourer: 3931,
 trackers_knife_enchantment_sated_devourer: 3932,
 stalkers_blade_enchantment_warrior: 1400,
 trackers_knife_enchantment_warrior: 1408,
 skirmishers_sabre_enchantment_warrior: 1412,
 enchantment_warrior: 3671,
 entropy: 3184,
 essence_reaver: 3508,
 executioners_calling: 3123,
 explorers_ward: 2050,
 eye_of_the_equinox: 2303,
 eye_of_the_oasis: 2302,
 eye_of_the_watchers: 2301,
 face_of_the_mountain: 3401,
 faerie_charm: 1004,
 farsight_alteration: 3363,
 fiendish_codex: 3108,
 fire_at_will: 3901,
 forbidden_idol: 3114,
 frost_queens_claim: 3092,
 frostfang: 3098,
 frozen_heart: 3110,
 frozen_mallet: 3022,
 giant_slayer: 3034,
 giants_belt: 1011,
 glacial_shroud: 3024,
 golden_transcendence: 3460,
 greater_stealth_totem_trinket: 3361,
 greater_vision_totem_trinket: 3362,
 grezs_spectral_lantern: 3159,
 guardian_angel: 3026,
 guardians_horn: 2051,
 guinsoos_rageblade: 3124,
 haunting_guise: 3136,
 health_potion: 2003,
 hexdrinker: 3155,
 hextech_gunblade: 3146,
 hextech_revolver: 3145,
 hextech_sweeper_crystal_scar: 3187,
 hextech_sweeper: 3348,
 hunters_machete: 1041,
 hunters_potion: 2032,
 hunters_talisman: 1039,
 iceborn_gauntlet: 3025,
 infinity_edge: 3031,
 ionian_boots_of_lucidity: 3158,
 ionian_boots_of_lucidity_enchantment_alacrity: 1331,
 ionian_boots_of_lucidity_enchantment_captain: 1332,
 ionian_boots_of_lucidity_enchantment_distortion: 1333,
 ionian_boots_of_lucidity_enchantment_furor: 1330,
 ionian_boots_of_lucidity_enchantment_homeguard: 1334,
 jaurims_fist: 3052,
 kindlegem: 3067,
 kircheis_shard: 2015,
 last_whisper: 3035,
 liandrys_torment: 3151,
 lich_bane: 3100,
 locket_of_the_iron_solari: 3190,
 long_sword: 1036,
 lord_dominiks_regards: 3036,
 lord_van_damms_pillager: 3104,
 ludens_echo: 3285,
 madreds_razors: 3106,
 manamune: 3004,
 manamune_crystal_scar: 3008,
 maw_of_malmortius: 3156,
 mejais_soulstealer: 3041,
 mercurial_scimitar: 3139,
 mercurys_treads: 3111,
 mercurys_treads_enchantment_alacrity: 1321,
 mercurys_treads_enchantment_captain: 1322,
 mercurys_treads_enchantment_distortion: 1323,
 mercurys_treads_enchantment_furor: 1320,
 mercurys_treads_enchantment_homeguard: 1324,
 mikaels_crucible: 3222,
 moonflair_spellblade: 3170,
 morellonomicon: 3165,
 mortal_reminder: 3033,
 muramana: 3042,
 muramana_crystal_scar: 3043,
 nashors_tooth: 3115,
 needlessly_large_rod: 1058,
 negatron_cloak: 1057,
 ninja_tabi: 3047,
 ninja_tabi_enchantment_alacrity: 1316,
 ninja_tabi_enchantment_captain: 1317,
 ninja_tabi_enchantment_distortion: 1318,
 ninja_tabi_enchantment_furor: 1315,
 ninja_tabi_enchantment_homeguard: 1319,
 nomads_medallion: 3096,
 null_magic_mantle: 1033,
 odyns_veil: 3180,
 ohmwrecker: 3056,
 oracle_alteration: 3364,
 oracles_extract: 2047,
 orb_of_winter: 3112,
 overlords_bloodmail: 3084,
 perfect_hex_core: 3198,
 phage: 3044,
 phantom_dancer: 3046,
 pickaxe: 1037,
 poro_snax: 2052,
 prospectors_blade: 1062,
 prospectors_ring: 1063,
 prototype_hex_core: 3200,
 quicksilver_sash: 3140,
 rabadons_deathcap: 3089,
 raise_morale: 3903,
 randuins_omen: 3143,
 rapid_firecannon: 3094,
 raptor_cloak: 2053,
 ravenous_hydra: 3074,
 recurve_bow: 1043,
 refillable_potion: 2031,
 rejuvenation_bead: 1006,
 relic_shield: 3302,
 righteous_glory: 3800,
 rod_of_ages: 3027,
 rod_of_ages_crystal_scar: 3029,
 ruby_crystal: 1028,
 ruby_sightstone: 2045,
 runaans_hurricane: 3085,
 rylais_crystal_scepter: 3116,
 sanguine_blade: 3181,
 sapphire_crystal: 1027,
 seekers_armguard: 3191,
 seraphs_embrace: 3040,
 seraphs_embrace_crystal_scar: 3048,
 serrated_dirk: 3134,
 sheen: 3057,
 sightstone: 2049,
 skirmishers_sabre: 3715,
 sorcerers_shoes: 3020,
 sorcerers_shoes_enchantment_alacrity: 1311,
 sorcerers_shoes_enchantment_captain: 1312,
 sorcerers_shoes_enchantment_distortion: 1313,
 sorcerers_shoes_enchantment_furor: 1310,
 sorcerers_shoes_enchantment_homeguard: 1314,
 soul_anchor_trinket: 3345,
 spectres_cowl: 3211,
 spellthiefs_edge: 3303,
 spirit_visage: 3065,
 staff_of_flowing_water: 3744,
 stalkers_blade: 3706,
 statikk_shiv: 3087,
 steraks_gage: 3053,
 stinger: 3101,
 sunfire_cape: 3068,
 sweeping_lens_trinket: 3341,
 talisman_of_ascension: 3069,
 targons_brace: 3097,
 tear_of_the_goddess: 3070,
 tear_of_the_goddess_crystal_scar: 3073,
 the_black_cleaver: 3071,
 the_black_spear: 3599,
 the_bloodthirster: 3072,
 the_dark_seal: 1082,
 the_hex_core_mk_1: 3196,
 the_hex_core_mk_2: 3197,
 the_lightbringer: 3185,
 thornmail: 3075,
 tiamat: 3077,
 titanic_hydra: 3748,
 total_biscuit_of_rejuvenation_post_3_14: 2010,
 total_biscuit_of_rejuvenation_pre_3_14: 2009,
 trackers_knife: 3711,
 trinity_force: 3078,
 vampiric_scepter: 1053,
 vision_ward: 2043,
 void_staff: 3135,
 wardens_mail: 3082,
 warding_totem_trinket: 3340,
 warmogs_armor: 3083,
 wicked_hatchet: 3122,
 will_of_the_ancients: 3152,
 wits_end: 3091,
 wooglets_witchcap: 3090,
 wriggles_lantern: 3154,
 youmuus_ghostblade: 3142,
 zeal: 3086,
 zekes_harbinger: 3050,
 zhonyas_hourglass: 3157,
 zzrot_portal: 3512
}
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

{
 aatrox: 266,
 ahri: 103,
 akali: 84,
 alistar: 12,
 amumu: 32,
 anivia: 34,
 annie: 1,
 ashe: 22,
 azir: 268,
 bard: 432,
 blitzcrank: 53,
 brand: 63,
 braum: 201,
 caitlyn: 51,
 cassiopeia: 69,
 chogath: 31,
 corki: 42,
 darius: 122,
 diana: 131,
 dr_mundo: 36,
 draven: 119,
 ekko: 245,
 elise: 60,
 evelynn: 28,
 ezreal: 81,
 fiddlesticks: 9,
 fiora: 114,
 fizz: 105,
 galio: 3,
 gangplank: 41,
 garen: 86,
 gnar: 150,
 gragas: 79,
 graves: 104,
 hecarim: 120,
 heimerdinger: 74,
 irelia: 39,
 janna: 40,
 jarvan_iv: 59,
 jax: 24,
 jayce: 126,
 jinx: 222,
 kalista: 429,
 karma: 43,
 karthus: 30,
 kassadin: 38,
 katarina: 55,
 kayle: 10,
 kennen: 85,
 khazix: 121,
 kindred: 203,
 kogmaw: 96,
 leblanc: 7,
 lee_sin: 64,
 leona: 89,
 lissandra: 127,
 lucian: 236,
 lulu: 117,
 lux: 99,
 malphite: 54,
 malzahar: 90,
 maokai: 57,
 master_yi: 11,
 miss_fortune: 21,
 mordekaiser: 82,
 morgana: 25,
 nami: 267,
 nasus: 75,
 nautilus: 111,
 nidalee: 76,
 nocturne: 56,
 nunu: 20,
 olaf: 2,
 orianna: 61,
 pantheon: 80,
 poppy: 78,
 quinn: 133,
 rammus: 33,
 reksai: 421,
 renekton: 58,
 rengar: 107,
 riven: 92,
 rumble: 68,
 ryze: 13,
 sejuani: 113,
 shaco: 35,
 shen: 98,
 shyvana: 102,
 singed: 27,
 sion: 14,
 sivir: 15,
 skarner: 72,
 sona: 37,
 soraka: 16,
 swain: 50,
 syndra: 134,
 tahm_kench: 223,
 talon: 91,
 taric: 44,
 teemo: 17,
 thresh: 412,
 tristana: 18,
 trundle: 48,
 tryndamere: 23,
 twisted_fate: 4,
 twitch: 29,
 udyr: 77,
 urgot: 6,
 varus: 110,
 vayne: 67,
 veigar: 45,
 velkoz: 161,
 vi: 254,
 viktor: 112,
 vladimir: 8,
 volibear: 106,
 warwick: 19,
 wukong: 62,
 xerath: 101,
 xin_zhao: 5,
 yasuo: 157,
 yorick: 83,
 zac: 154,
 zed: 238,
 ziggs: 115,
 zilean: 26,
 zyra: 143,
}