riot_games_api 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.rubocop.yml +28 -0
  4. data/.travis.yml +8 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +192 -0
  8. data/Rakefile +5 -0
  9. data/lib/riot_games_api/lol/client.rb +57 -0
  10. data/lib/riot_games_api/lol/constant/champions.rb +125 -0
  11. data/lib/riot_games_api/lol/constant/items.rb +186 -0
  12. data/lib/riot_games_api/lol/model/champion/champion.rb +18 -0
  13. data/lib/riot_games_api/lol/model/champion.rb +10 -0
  14. data/lib/riot_games_api/lol/model/corecion/time.rb +16 -0
  15. data/lib/riot_games_api/lol/model/game/game.rb +27 -0
  16. data/lib/riot_games_api/lol/model/game/player.rb +15 -0
  17. data/lib/riot_games_api/lol/model/game/raw_stats.rb +88 -0
  18. data/lib/riot_games_api/lol/model/game/recent_game.rb +14 -0
  19. data/lib/riot_games_api/lol/model/game.rb +13 -0
  20. data/lib/riot_games_api/lol/model/league/league.rb +17 -0
  21. data/lib/riot_games_api/lol/model/league/league_item.rb +35 -0
  22. data/lib/riot_games_api/lol/model/league/mini_series.rb +17 -0
  23. data/lib/riot_games_api/lol/model/league.rb +12 -0
  24. data/lib/riot_games_api/lol/model/static_data/basic_data.rb +35 -0
  25. data/lib/riot_games_api/lol/model/static_data/basic_data_stats.rb +77 -0
  26. data/lib/riot_games_api/lol/model/static_data/block.rb +14 -0
  27. data/lib/riot_games_api/lol/model/static_data/block_item.rb +14 -0
  28. data/lib/riot_games_api/lol/model/static_data/champion.rb +29 -0
  29. data/lib/riot_games_api/lol/model/static_data/champion_list.rb +17 -0
  30. data/lib/riot_games_api/lol/model/static_data/champion_list_data_by_id.rb +11 -0
  31. data/lib/riot_games_api/lol/model/static_data/champion_spell.rb +32 -0
  32. data/lib/riot_games_api/lol/model/static_data/gold.rb +16 -0
  33. data/lib/riot_games_api/lol/model/static_data/group.rb +14 -0
  34. data/lib/riot_games_api/lol/model/static_data/image.rb +19 -0
  35. data/lib/riot_games_api/lol/model/static_data/info.rb +16 -0
  36. data/lib/riot_games_api/lol/model/static_data/item.rb +35 -0
  37. data/lib/riot_games_api/lol/model/static_data/item_list.rb +18 -0
  38. data/lib/riot_games_api/lol/model/static_data/item_tree.rb +14 -0
  39. data/lib/riot_games_api/lol/model/static_data/level_tip.rb +14 -0
  40. data/lib/riot_games_api/lol/model/static_data/mastery.rb +19 -0
  41. data/lib/riot_games_api/lol/model/static_data/mastery_list.rb +16 -0
  42. data/lib/riot_games_api/lol/model/static_data/mastery_tree.rb +15 -0
  43. data/lib/riot_games_api/lol/model/static_data/mastery_tree_item.rb +14 -0
  44. data/lib/riot_games_api/lol/model/static_data/mastery_tree_list.rb +13 -0
  45. data/lib/riot_games_api/lol/model/static_data/meta_data.rb +18 -0
  46. data/lib/riot_games_api/lol/model/static_data/passive.rb +16 -0
  47. data/lib/riot_games_api/lol/model/static_data/realm.rb +21 -0
  48. data/lib/riot_games_api/lol/model/static_data/recommended.rb +19 -0
  49. data/lib/riot_games_api/lol/model/static_data/rune.rb +35 -0
  50. data/lib/riot_games_api/lol/model/static_data/rune_list.rb +16 -0
  51. data/lib/riot_games_api/lol/model/static_data/skin.rb +15 -0
  52. data/lib/riot_games_api/lol/model/static_data/spell_vars.rb +16 -0
  53. data/lib/riot_games_api/lol/model/static_data/stats.rb +32 -0
  54. data/lib/riot_games_api/lol/model/static_data/summoner_spell.rb +35 -0
  55. data/lib/riot_games_api/lol/model/static_data/summoner_spell_list.rb +15 -0
  56. data/lib/riot_games_api/lol/model/static_data/summoner_spell_list_data_by_id.rb +11 -0
  57. data/lib/riot_games_api/lol/model/static_data.rb +47 -0
  58. data/lib/riot_games_api/lol/model/stats/aggregated_stats.rb +68 -0
  59. data/lib/riot_games_api/lol/model/stats/champion_stats.rb +14 -0
  60. data/lib/riot_games_api/lol/model/stats/player_stats_summary.rb +17 -0
  61. data/lib/riot_games_api/lol/model/stats/player_stats_summary_list.rb +14 -0
  62. data/lib/riot_games_api/lol/model/stats/ranked_stats.rb +15 -0
  63. data/lib/riot_games_api/lol/model/stats.rb +15 -0
  64. data/lib/riot_games_api/lol/model/summoner/mastery.rb +14 -0
  65. data/lib/riot_games_api/lol/model/summoner/mastery_page.rb +16 -0
  66. data/lib/riot_games_api/lol/model/summoner/mastery_page_list.rb +14 -0
  67. data/lib/riot_games_api/lol/model/summoner/rune_page.rb +16 -0
  68. data/lib/riot_games_api/lol/model/summoner/rune_page_list.rb +14 -0
  69. data/lib/riot_games_api/lol/model/summoner/rune_slot.rb +14 -0
  70. data/lib/riot_games_api/lol/model/summoner/summoner.rb +17 -0
  71. data/lib/riot_games_api/lol/model/summoner.rb +16 -0
  72. data/lib/riot_games_api/lol/model/team/match_history_summary.rb +23 -0
  73. data/lib/riot_games_api/lol/model/team/message_of_day.rb +15 -0
  74. data/lib/riot_games_api/lol/model/team/roster.rb +14 -0
  75. data/lib/riot_games_api/lol/model/team/team.rb +27 -0
  76. data/lib/riot_games_api/lol/model/team/team_member_info.rb +16 -0
  77. data/lib/riot_games_api/lol/model/team/team_stat_detail.rb +17 -0
  78. data/lib/riot_games_api/lol/model/team/team_stat_summary.rb +14 -0
  79. data/lib/riot_games_api/lol/model/team.rb +16 -0
  80. data/lib/riot_games_api/lol/model.rb +16 -0
  81. data/lib/riot_games_api/lol/resource/base.rb +22 -0
  82. data/lib/riot_games_api/lol/resource/champion.rb +39 -0
  83. data/lib/riot_games_api/lol/resource/game.rb +23 -0
  84. data/lib/riot_games_api/lol/resource/league.rb +65 -0
  85. data/lib/riot_games_api/lol/resource/static_data.rb +91 -0
  86. data/lib/riot_games_api/lol/resource/stats.rb +28 -0
  87. data/lib/riot_games_api/lol/resource/summoner.rb +52 -0
  88. data/lib/riot_games_api/lol/resource/team.rb +34 -0
  89. data/lib/riot_games_api/lol/resource.rb +15 -0
  90. data/lib/riot_games_api/version.rb +3 -0
  91. data/lib/riot_games_api.rb +15 -0
  92. data/riot_games_api.gemspec +34 -0
  93. data/spec/lol/resource/champion_spec.rb +27 -0
  94. data/spec/lol/resource/game_spec.rb +40 -0
  95. data/spec/lol/resource/league_spec.rb +93 -0
  96. data/spec/lol/resource/static_data_spec.rb +215 -0
  97. data/spec/lol/resource/stats_spec.rb +57 -0
  98. data/spec/lol/resource/summoner_spec.rb +80 -0
  99. data/spec/lol/resource/team_spec.rb +31 -0
  100. data/spec/spec_helper.rb +21 -0
  101. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Champion/_all/should_first_record_is_Aatrox.yml +44 -0
  102. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Champion/_by_champion_id/should_be_Teemo.yml +44 -0
  103. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Champion/_free/should_be_only_free_champions.yml +44 -0
  104. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Game/_recent/should_champinons_is_Talon_in_first_game_record.yml +44 -0
  105. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Game/_recent/should_first_fellow_player_s_team_is_blue.yml +44 -0
  106. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Game/_recent/should_first_game_is_win.yml +44 -0
  107. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Game/_recent/should_game_record_have_player_model.yml +44 -0
  108. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Game/_recent/should_game_record_have_raw_stats_model.yml +44 -0
  109. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Game/_recent/should_game_records_count_is_10.yml +44 -0
  110. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Game/_recent/should_have_summoner_id.yml +44 -0
  111. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_by_summoner_id/should_have_league_item_entries.yml +1497 -0
  112. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_by_summoner_id/should_phantoml0ad_is_in_league_which_name_is_Nasus_s_Agents.yml +1497 -0
  113. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_by_summoner_id_only_own_entry/should_ojarusang_is_in_series.yml +43 -0
  114. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_by_summoner_id_only_own_entry/should_ojarusang_s_tier_is_platinum.yml +43 -0
  115. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_by_team_id/should_have_league_item_entries.yml +864 -0
  116. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_by_team_id/should_rascal_jester_is_in_league_which_name_is_Nunu_s_Outriders.yml +864 -0
  117. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_by_team_id_only_own_entry/should_ffg_practice_is_not_in_series.yml +44 -0
  118. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_by_team_id_only_own_entry/should_ffg_practice_tier_is_challenger.yml +44 -0
  119. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_challenger_solo_5v5/should_queue_is_ranked_solo_5v5.yml +1281 -0
  120. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_challenger_solo_5v5/should_tier_is_challenger.yml +1281 -0
  121. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_challenger_team_3v3/should_queue_is_ranked_team_3v3.yml +123 -0
  122. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_challenger_team_3v3/should_tier_is_challenger.yml +123 -0
  123. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_challenger_team_5v5/should_queue_is_ranked_team_5v5.yml +61 -0
  124. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_League/_challenger_team_5v5/should_tier_is_challenger.yml +61 -0
  125. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/_realm/should_have_data_cdn_is_cdn_url.yml +44 -0
  126. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/_realm/should_have_static_data_of_realm.yml +44 -0
  127. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_false/should_have_inputed_data_version.yml +38011 -0
  128. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_false/should_have_static_data_key_with_champion_name.yml +38011 -0
  129. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_false/should_have_static_data_of_champions.yml +38011 -0
  130. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_true/should_have_static_data_keys_is_champion_id.yml +38000 -0
  131. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_true/should_have_static_data_of_champion.yml +38000 -0
  132. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_by_id/should_have_data_key_is_shaco.yml +151 -0
  133. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_by_id/should_have_static_data_of_champion.yml +151 -0
  134. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_all/should_have_inputed_data_version.yml +2388 -0
  135. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_all/should_have_static_data_of_items.yml +2388 -0
  136. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_all/should_have_static_data_with_item_name.yml +2388 -0
  137. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_by_id/should_have_data_name_is_biscuit.yml +46 -0
  138. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_by_id/should_have_static_data_of_item.yml +46 -0
  139. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_all/should_have_inputed_data_version.yml +240 -0
  140. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_all/should_have_static_data_of_masterys.yml +240 -0
  141. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_all/should_have_static_data_with_mastery_name.yml +240 -0
  142. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_by_id/should_have_data_name_is_sorcery.yml +47 -0
  143. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_by_id/should_have_static_data_of_mastery.yml +47 -0
  144. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_all/should_have_inputed_data_version.yml +733 -0
  145. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_all/should_have_static_data_of_runes.yml +733 -0
  146. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_all/should_have_static_data_with_rune_name.yml +733 -0
  147. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_by_id/should_have_data_name_is_rune_name.yml +45 -0
  148. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_by_id/should_have_static_data_of_rune.yml +45 -0
  149. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_false/should_have_inputed_data_version.yml +156 -0
  150. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_false/should_have_static_data_key_with_summoner_spell_name.yml +156 -0
  151. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_false/should_have_static_data_of_summoner_spell.yml +156 -0
  152. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_true/should_have_static_data_keys_is_sumoner_spell_id.yml +156 -0
  153. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_true/should_have_static_data_of_summoner_spell.yml +156 -0
  154. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_by_id/should_have_data_name_is_teleport.yml +55 -0
  155. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_by_id/should_have_static_data_of_summoner_spell.yml +55 -0
  156. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_ranked/latest_season/should_not_found_ranked_stats.yml +57 -0
  157. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_ranked/season3/should_have_champion_stats.yml +44 -0
  158. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_ranked/season3/should_have_modify_data_which_unixtime_milliseconds.yml +44 -0
  159. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_summary/latest_season/should_have_player_stat_summaries.yml +44 -0
  160. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_summary/latest_season/should_have_summoner_id_inputed.yml +44 -0
  161. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_summary/season3/should_have_player_stat_summaries.yml +44 -0
  162. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_summary/season3/should_have_summoner_id_inputed.yml +44 -0
  163. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_by_id/should_have_key_which_is_summoner_id.yml +44 -0
  164. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_by_id/should_have_summoner_model.yml +44 -0
  165. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_by_id/should_summoner_model_have_summoner_level.yml +44 -0
  166. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_by_name/should_have_key_which_is_summoner_name.yml +44 -0
  167. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_by_name/should_have_summoner_model.yml +44 -0
  168. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_by_name/should_summoner_model_have_summoner_level.yml +44 -0
  169. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_masteries/should_have_key_which_is_summoner_id.yml +52 -0
  170. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_masteries/should_have_mastery_page_list_model.yml +52 -0
  171. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_masteries/should_have_mastery_page_model.yml +52 -0
  172. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_name/should_have_summoner_name.yml +44 -0
  173. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_runes/should_have_key_which_is_summoner_id.yml +56 -0
  174. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_runes/should_have_rune_page_list_model.yml +56 -0
  175. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Summoner/_runes/should_have_rune_page_model.yml +56 -0
  176. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Team/_by_summoner_id/should_have_focus_me_s_full_id.yml +314 -0
  177. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Team/_by_summoner_id/should_have_team_model.yml +314 -0
  178. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Team/_by_team_id/should_have_key_which_is_team_id.yml +165 -0
  179. data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Team/_by_team_id/should_have_team_model.yml +165 -0
  180. metadata +484 -0
@@ -0,0 +1,156 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://prod.api.pvp.net/api/lol/static-data/na/v1.2/summoner-spell?api_key=test_key&dataById=false&locale=en_US&spellData=all&version=4.5.4
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.9
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Access-Control-Allow-Headers:
22
+ - Content-Type
23
+ Access-Control-Allow-Methods:
24
+ - GET, POST, DELETE, PUT
25
+ Access-Control-Allow-Origin:
26
+ - "*"
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Date:
30
+ - Thu, 17 Apr 2014 19:08:15 GMT
31
+ Server:
32
+ - Jetty(9.1.1.v20140108)
33
+ Vary:
34
+ - Accept-Encoding, User-Agent
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ body:
40
+ encoding: UTF-8
41
+ string: "{\"type\":\"summoner\",\"version\":\"4.5.4\",\"data\":{\"SummonerBoost\":{\"name\":\"Cleanse\",\"description\":\"Removes
42
+ all disables and summoner spell debuffs affecting your champion and lowers
43
+ the duration of incoming disables by 65% for 3 seconds.\",\"sanitizedDescription\":\"Removes
44
+ all disables and summoner spell debuffs affecting your champion and lowers
45
+ the duration of incoming disables by 65% for 3 seconds.\",\"tooltip\":\"Removes
46
+ all disables and summoner spell debuffs affecting your champion and reduces
47
+ the duration of disables by 65% for the next {{ f1 }} seconds.\",\"sanitizedTooltip\":\"Removes
48
+ all disables and summoner spell debuffs affecting your champion and reduces
49
+ the duration of disables by 65% for the next {{ f1 }} seconds.\",\"image\":{\"full\":\"SummonerBoost.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":96,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
50
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[3.0]}],\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":2,\"id\":1,\"key\":\"SummonerBoost\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"SummonerTeleport\":{\"name\":\"Teleport\",\"description\":\"After
51
+ channeling for 3.5 seconds, teleports your champion to target allied minion,
52
+ turret, or ward.\",\"sanitizedDescription\":\"After channeling for 3.5 seconds,
53
+ teleports your champion to target allied minion, turret, or ward.\",\"tooltip\":\"After
54
+ channeling for {{ f1 }} seconds, your champion teleports to target turret,
55
+ minion or ward. Teleporting to an allied turret puts Teleport on a {{ f3 }}
56
+ second cooldown instead.<br><br>You may reactivate Teleport to cancel it,
57
+ placing it on a {{ f3 }} second cooldown.\",\"sanitizedTooltip\":\"After channeling
58
+ for {{ f1 }} seconds, your champion teleports to target turret, minion or
59
+ ward. Teleporting to an allied turret puts Teleport on a {{ f3 }} second cooldown
60
+ instead. You may reactivate Teleport to cancel it, placing it on a {{ f3 }}
61
+ second cooldown.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerTeleport.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":288,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
62
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[300],\"cooldownBurn\":\"300\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[4.0]}],\"range\":[25000],\"rangeBurn\":\"25000\",\"summonerLevel\":6,\"id\":12,\"key\":\"SummonerTeleport\",\"modes\":[\"CLASSIC\",\"TUTORIAL\"]},\"SummonerDot\":{\"name\":\"Ignite\",\"description\":\"Ignites
63
+ target enemy champion, dealing 70-410 true damage (depending on champion level)
64
+ over 5 seconds, grants you vision of the target, and reduces healing effects
65
+ on them for the duration.\",\"sanitizedDescription\":\"Ignites target enemy
66
+ champion, dealing 70-410 true damage (depending on champion level) over 5
67
+ seconds, grants you vision of the target, and reduces healing effects on them
68
+ for the duration.\",\"tooltip\":\"Ignite deals <span class=\\\"colorFEFCFF\\\">{{
69
+ f1 }}</span> true damage to target enemy champion over 5 seconds, grants you
70
+ vision of the target and applies Grievous Wounds for the duration.<br><br><i>(Grievous
71
+ Wounds reducing incoming healing effects by 50%. This vision does not reveal
72
+ stealthed enemies.)</i>\",\"sanitizedTooltip\":\"Ignite deals {{ f1 }} true
73
+ damage to target enemy champion over 5 seconds, grants you vision of the target
74
+ and applies Grievous Wounds for the duration. (Grievous Wounds reducing incoming
75
+ healing effects by 50%. This vision does not reveal stealthed enemies.)\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerDot.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":192,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
76
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[180],\"cooldownBurn\":\"180\",\"effect\":[[500],[150]],\"effectBurn\":[\"500\",\"150\"],\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[70.0,90.0,110.0,130.0,150.0,170.0,190.0,210.0,230.0,250.0,270.0,290.0,310.0,330.0,350.0,370.0,390.0,410.0]}],\"range\":[600],\"rangeBurn\":\"600\",\"summonerLevel\":8,\"id\":14,\"key\":\"SummonerDot\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"SummonerHaste\":{\"name\":\"Ghost\",\"description\":\"Your
77
+ champion can move through units and has 27% increased Movement Speed for 10
78
+ seconds\",\"sanitizedDescription\":\"Your champion can move through units
79
+ and has 27% increased Movement Speed for 10 seconds\",\"tooltip\":\"Your champion
80
+ can move through units and has {{ f1 }}% increased Movement Speed for 10 seconds.\",\"sanitizedTooltip\":\"Your
81
+ champion can move through units and has {{ f1 }}% increased Movement Speed
82
+ for 10 seconds.\",\"image\":{\"full\":\"SummonerHaste.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":384,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
83
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[27.0]}],\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":1,\"id\":6,\"key\":\"SummonerHaste\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"SummonerHeal\":{\"name\":\"Heal\",\"description\":\"Restores
84
+ 90-495 Health (depending on champion level) and Grants 30% Movement Speed
85
+ for 2 seconds to you and target allied champion. Additionally removes any
86
+ healing reduction effects that afflict either champion.\",\"sanitizedDescription\":\"Restores
87
+ 90-495 Health (depending on champion level) and Grants 30% Movement Speed
88
+ for 2 seconds to you and target allied champion. Additionally removes any
89
+ healing reduction effects that afflict either champion.\",\"tooltip\":\"Restores
90
+ {{ f1 }} Health and grants 30% Movement Speed for 2 seconds to you and targeted
91
+ champion, then removes any healing reduction effects that afflict either champion.<br><br><span
92
+ class=\\\"colorFFFF00\\\">If this spell cannot find a target, it will cast
93
+ on the most wounded allied champion in range.</span>\",\"sanitizedTooltip\":\"Restores
94
+ {{ f1 }} Health and grants 30% Movement Speed for 2 seconds to you and targeted
95
+ champion, then removes any healing reduction effects that afflict either champion.
96
+ If this spell cannot find a target, it will cast on the most wounded allied
97
+ champion in range.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerHeal.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":432,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
98
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[300],\"cooldownBurn\":\"300\",\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[145.0,170.0,195.0,220.0,245.0,270.0,295.0,320.0,345.0,370.0,395.0,420.0,445.0,470.0,495.0,520.0,545.0,570.0]}],\"range\":[850],\"rangeBurn\":\"850\",\"summonerLevel\":2,\"id\":7,\"key\":\"SummonerHeal\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"SummonerRevive\":{\"name\":\"Revive\",\"description\":\"Instantly
99
+ revives your champion at your team's Summoner Platform and increases their
100
+ Movement Speed for a short duration.\",\"sanitizedDescription\":\"Instantly
101
+ revives your champion at your team's Summoner Platform and increases their
102
+ Movement Speed for a short duration.\",\"tooltip\":\"Instantly revives your
103
+ champion at your team's Summoner Platform and grants +{{ f3 }}% Movement Speed
104
+ that decays over 12 seconds.\",\"sanitizedTooltip\":\"Instantly revives your
105
+ champion at your team's Summoner Platform and grants +{{ f3 }}% Movement Speed
106
+ that decays over 12 seconds.\",\"image\":{\"full\":\"SummonerRevive.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":192,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
107
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":1,\"id\":10,\"key\":\"SummonerRevive\",\"modes\":[\"CLASSIC\",\"TUTORIAL\",\"ODIN\"]},\"SummonerExhaust\":{\"name\":\"Exhaust\",\"description\":\"Exhausts
108
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
109
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"sanitizedDescription\":\"Exhausts
110
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
111
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"tooltip\":\"Exhausts
112
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
113
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"sanitizedTooltip\":\"Exhausts
114
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
115
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerExhaust.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":240,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
116
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[210],\"cooldownBurn\":\"210\",\"range\":[650],\"rangeBurn\":\"650\",\"summonerLevel\":8,\"id\":3,\"key\":\"SummonerExhaust\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"SummonerSmite\":{\"name\":\"Smite\",\"description\":\"Deals
117
+ 390-1000 true damage (depending on champion level) to target monster or enemy
118
+ minion.\",\"sanitizedDescription\":\"Deals 390-1000 true damage (depending
119
+ on champion level) to target monster or enemy minion.\",\"tooltip\":\"Deals
120
+ <span class=\\\"colorFEFCFF\\\">{{ f1 }}</span> true damage to target monster
121
+ or enemy minion.\",\"sanitizedTooltip\":\"Deals {{ f1 }} true damage to target
122
+ monster or enemy minion.\",\"image\":{\"full\":\"SummonerSmite.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":240,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
123
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[445.0,470.0,495.0,520.0,545.0,570.0,595.0,620.0,645.0,670.0,695.0,720.0,745.0,770.0,795.0,820.0,845.0,870.0]}],\"range\":[760],\"rangeBurn\":\"760\",\"summonerLevel\":3,\"id\":11,\"key\":\"SummonerSmite\",\"modes\":[\"CLASSIC\",\"TUTORIAL\",\"ODIN\"]},\"SummonerMana\":{\"name\":\"Clarity\",\"description\":\"Restores
124
+ 40% of your champion's maximum Mana. Also restores allies for 40% of their
125
+ maximum Mana\",\"sanitizedDescription\":\"Restores 40% of your champion's
126
+ maximum Mana. Also restores allies for 40% of their maximum Mana\",\"tooltip\":\"Restores
127
+ {{ f1 }}% maximum Mana to your Champion and nearby allies.\",\"sanitizedTooltip\":\"Restores
128
+ {{ f1 }}% maximum Mana to your Champion and nearby allies.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerMana.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":0,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
129
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[180],\"cooldownBurn\":\"180\",\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[190.0,220.0,250.0,280.0,310.0,340.0,370.0,400.0,430.0,460.0,490.0,520.0,550.0,580.0,610.0,640.0,670.0,700.0]}],\"range\":[600],\"rangeBurn\":\"600\",\"summonerLevel\":1,\"id\":13,\"key\":\"SummonerMana\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"SummonerBarrier\":{\"name\":\"Barrier\",\"description\":\"Shields
130
+ your champion for 115-455 (depending on champion level) for 2 seconds.\",\"sanitizedDescription\":\"Shields
131
+ your champion for 115-455 (depending on champion level) for 2 seconds.\",\"tooltip\":\"Temporarily
132
+ shields {{ f1 }} damage from your champion for 2 seconds.\",\"sanitizedTooltip\":\"Temporarily
133
+ shields {{ f1 }} damage from your champion for 2 seconds.\",\"image\":{\"full\":\"SummonerBarrier.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":0,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
134
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@cooldownsummoner\",\"coeff\":[125.0]}],\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":6,\"id\":21,\"key\":\"SummonerBarrier\",\"modes\":[\"ARAM\",\"CLASSIC\",\"TUTORIAL\",\"ODIN\"]},\"SummonerClairvoyance\":{\"name\":\"Clairvoyance\",\"description\":\"Reveals
135
+ a small area of the map for your team for 5 seconds.\",\"sanitizedDescription\":\"Reveals
136
+ a small area of the map for your team for 5 seconds.\",\"tooltip\":\"Reveals
137
+ a small area of the map for your team for {{ f1 }} seconds.\",\"sanitizedTooltip\":\"Reveals
138
+ a small area of the map for your team for {{ f1 }} seconds.\",\"image\":{\"full\":\"SummonerClairvoyance.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":144,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
139
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[4.0]}],\"range\":[25000],\"rangeBurn\":\"25000\",\"summonerLevel\":10,\"id\":2,\"key\":\"SummonerClairvoyance\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\"]},\"SummonerFlash\":{\"name\":\"Flash\",\"description\":\"Teleports
140
+ your champion a short distance toward your cursor's location.\",\"sanitizedDescription\":\"Teleports
141
+ your champion a short distance toward your cursor's location.\",\"tooltip\":\"Teleports
142
+ your champion a short distance toward your cursor's location.\",\"sanitizedTooltip\":\"Teleports
143
+ your champion a short distance toward your cursor's location.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerFlash.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":288,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
144
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"range\":[425],\"rangeBurn\":\"425\",\"summonerLevel\":12,\"id\":4,\"key\":\"SummonerFlash\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"SummonerOdinGarrison\":{\"name\":\"Garrison\",\"description\":\"Allied
145
+ Turret: Grants massive regeneration for 8 seconds. Enemy Turret: Reduces damage
146
+ dealt by 80% for 8 seconds.\",\"sanitizedDescription\":\"Allied Turret: Grants
147
+ massive regeneration for 8 seconds. Enemy Turret: Reduces damage dealt by
148
+ 80% for 8 seconds.\",\"tooltip\":\"<span class=\\\"size16 colorFF9900\\\">Allied
149
+ Turret:</span> Grants massive regeneration for 8 seconds.<br><br><span class=\\\"size16
150
+ colorFF9900\\\">Enemy Turret:</span> Reduces damage dealt by 80% for 8 seconds.\",\"sanitizedTooltip\":\"Allied
151
+ Turret: Grants massive regeneration for 8 seconds. Enemy Turret: Reduces damage
152
+ dealt by 80% for 8 seconds.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerOdinGarrison.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":48,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
153
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[210],\"cooldownBurn\":\"210\",\"range\":[1250],\"rangeBurn\":\"1250\",\"summonerLevel\":1,\"id\":17,\"key\":\"SummonerOdinGarrison\",\"modes\":[\"ODIN\"]}}}"
154
+ http_version:
155
+ recorded_at: Thu, 17 Apr 2014 19:08:49 GMT
156
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,156 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://prod.api.pvp.net/api/lol/static-data/na/v1.2/summoner-spell?api_key=test_key&dataById=true&locale=en_US&spellData=all&version
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.9
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Access-Control-Allow-Headers:
22
+ - Content-Type
23
+ Access-Control-Allow-Methods:
24
+ - GET, POST, DELETE, PUT
25
+ Access-Control-Allow-Origin:
26
+ - "*"
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Date:
30
+ - Thu, 17 Apr 2014 19:11:53 GMT
31
+ Server:
32
+ - Jetty(9.1.1.v20140108)
33
+ Vary:
34
+ - Accept-Encoding, User-Agent
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ body:
40
+ encoding: UTF-8
41
+ string: "{\"type\":\"summoner\",\"version\":\"4.5.4\",\"data\":{\"17\":{\"name\":\"Garrison\",\"description\":\"Allied
42
+ Turret: Grants massive regeneration for 8 seconds. Enemy Turret: Reduces damage
43
+ dealt by 80% for 8 seconds.\",\"sanitizedDescription\":\"Allied Turret: Grants
44
+ massive regeneration for 8 seconds. Enemy Turret: Reduces damage dealt by
45
+ 80% for 8 seconds.\",\"tooltip\":\"<span class=\\\"size16 colorFF9900\\\">Allied
46
+ Turret:</span> Grants massive regeneration for 8 seconds.<br><br><span class=\\\"size16
47
+ colorFF9900\\\">Enemy Turret:</span> Reduces damage dealt by 80% for 8 seconds.\",\"sanitizedTooltip\":\"Allied
48
+ Turret: Grants massive regeneration for 8 seconds. Enemy Turret: Reduces damage
49
+ dealt by 80% for 8 seconds.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerOdinGarrison.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":48,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
50
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[210],\"cooldownBurn\":\"210\",\"range\":[1250],\"rangeBurn\":\"1250\",\"summonerLevel\":1,\"id\":17,\"key\":\"SummonerOdinGarrison\",\"modes\":[\"ODIN\"]},\"13\":{\"name\":\"Clarity\",\"description\":\"Restores
51
+ 40% of your champion's maximum Mana. Also restores allies for 40% of their
52
+ maximum Mana\",\"sanitizedDescription\":\"Restores 40% of your champion's
53
+ maximum Mana. Also restores allies for 40% of their maximum Mana\",\"tooltip\":\"Restores
54
+ {{ f1 }}% maximum Mana to your Champion and nearby allies.\",\"sanitizedTooltip\":\"Restores
55
+ {{ f1 }}% maximum Mana to your Champion and nearby allies.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerMana.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":0,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
56
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[180],\"cooldownBurn\":\"180\",\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[190.0,220.0,250.0,280.0,310.0,340.0,370.0,400.0,430.0,460.0,490.0,520.0,550.0,580.0,610.0,640.0,670.0,700.0]}],\"range\":[600],\"rangeBurn\":\"600\",\"summonerLevel\":1,\"id\":13,\"key\":\"SummonerMana\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"14\":{\"name\":\"Ignite\",\"description\":\"Ignites
57
+ target enemy champion, dealing 70-410 true damage (depending on champion level)
58
+ over 5 seconds, grants you vision of the target, and reduces healing effects
59
+ on them for the duration.\",\"sanitizedDescription\":\"Ignites target enemy
60
+ champion, dealing 70-410 true damage (depending on champion level) over 5
61
+ seconds, grants you vision of the target, and reduces healing effects on them
62
+ for the duration.\",\"tooltip\":\"Ignite deals <span class=\\\"colorFEFCFF\\\">{{
63
+ f1 }}</span> true damage to target enemy champion over 5 seconds, grants you
64
+ vision of the target and applies Grievous Wounds for the duration.<br><br><i>(Grievous
65
+ Wounds reducing incoming healing effects by 50%. This vision does not reveal
66
+ stealthed enemies.)</i>\",\"sanitizedTooltip\":\"Ignite deals {{ f1 }} true
67
+ damage to target enemy champion over 5 seconds, grants you vision of the target
68
+ and applies Grievous Wounds for the duration. (Grievous Wounds reducing incoming
69
+ healing effects by 50%. This vision does not reveal stealthed enemies.)\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerDot.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":192,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
70
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[180],\"cooldownBurn\":\"180\",\"effect\":[[500],[150]],\"effectBurn\":[\"500\",\"150\"],\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[70.0,90.0,110.0,130.0,150.0,170.0,190.0,210.0,230.0,250.0,270.0,290.0,310.0,330.0,350.0,370.0,390.0,410.0]}],\"range\":[600],\"rangeBurn\":\"600\",\"summonerLevel\":8,\"id\":14,\"key\":\"SummonerDot\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"11\":{\"name\":\"Smite\",\"description\":\"Deals
71
+ 390-1000 true damage (depending on champion level) to target monster or enemy
72
+ minion.\",\"sanitizedDescription\":\"Deals 390-1000 true damage (depending
73
+ on champion level) to target monster or enemy minion.\",\"tooltip\":\"Deals
74
+ <span class=\\\"colorFEFCFF\\\">{{ f1 }}</span> true damage to target monster
75
+ or enemy minion.\",\"sanitizedTooltip\":\"Deals {{ f1 }} true damage to target
76
+ monster or enemy minion.\",\"image\":{\"full\":\"SummonerSmite.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":240,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
77
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[445.0,470.0,495.0,520.0,545.0,570.0,595.0,620.0,645.0,670.0,695.0,720.0,745.0,770.0,795.0,820.0,845.0,870.0]}],\"range\":[760],\"rangeBurn\":\"760\",\"summonerLevel\":3,\"id\":11,\"key\":\"SummonerSmite\",\"modes\":[\"CLASSIC\",\"TUTORIAL\",\"ODIN\"]},\"12\":{\"name\":\"Teleport\",\"description\":\"After
78
+ channeling for 3.5 seconds, teleports your champion to target allied minion,
79
+ turret, or ward.\",\"sanitizedDescription\":\"After channeling for 3.5 seconds,
80
+ teleports your champion to target allied minion, turret, or ward.\",\"tooltip\":\"After
81
+ channeling for {{ f1 }} seconds, your champion teleports to target turret,
82
+ minion or ward. Teleporting to an allied turret puts Teleport on a {{ f3 }}
83
+ second cooldown instead.<br><br>You may reactivate Teleport to cancel it,
84
+ placing it on a {{ f3 }} second cooldown.\",\"sanitizedTooltip\":\"After channeling
85
+ for {{ f1 }} seconds, your champion teleports to target turret, minion or
86
+ ward. Teleporting to an allied turret puts Teleport on a {{ f3 }} second cooldown
87
+ instead. You may reactivate Teleport to cancel it, placing it on a {{ f3 }}
88
+ second cooldown.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerTeleport.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":288,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
89
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[300],\"cooldownBurn\":\"300\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[4.0]}],\"range\":[25000],\"rangeBurn\":\"25000\",\"summonerLevel\":6,\"id\":12,\"key\":\"SummonerTeleport\",\"modes\":[\"CLASSIC\",\"TUTORIAL\"]},\"21\":{\"name\":\"Barrier\",\"description\":\"Shields
90
+ your champion for 115-455 (depending on champion level) for 2 seconds.\",\"sanitizedDescription\":\"Shields
91
+ your champion for 115-455 (depending on champion level) for 2 seconds.\",\"tooltip\":\"Temporarily
92
+ shields {{ f1 }} damage from your champion for 2 seconds.\",\"sanitizedTooltip\":\"Temporarily
93
+ shields {{ f1 }} damage from your champion for 2 seconds.\",\"image\":{\"full\":\"SummonerBarrier.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":0,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
94
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@cooldownsummoner\",\"coeff\":[125.0]}],\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":6,\"id\":21,\"key\":\"SummonerBarrier\",\"modes\":[\"ARAM\",\"CLASSIC\",\"TUTORIAL\",\"ODIN\"]},\"3\":{\"name\":\"Exhaust\",\"description\":\"Exhausts
95
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
96
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"sanitizedDescription\":\"Exhausts
97
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
98
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"tooltip\":\"Exhausts
99
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
100
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"sanitizedTooltip\":\"Exhausts
101
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
102
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerExhaust.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":240,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
103
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[210],\"cooldownBurn\":\"210\",\"range\":[650],\"rangeBurn\":\"650\",\"summonerLevel\":8,\"id\":3,\"key\":\"SummonerExhaust\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"2\":{\"name\":\"Clairvoyance\",\"description\":\"Reveals
104
+ a small area of the map for your team for 5 seconds.\",\"sanitizedDescription\":\"Reveals
105
+ a small area of the map for your team for 5 seconds.\",\"tooltip\":\"Reveals
106
+ a small area of the map for your team for {{ f1 }} seconds.\",\"sanitizedTooltip\":\"Reveals
107
+ a small area of the map for your team for {{ f1 }} seconds.\",\"image\":{\"full\":\"SummonerClairvoyance.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":144,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
108
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[4.0]}],\"range\":[25000],\"rangeBurn\":\"25000\",\"summonerLevel\":10,\"id\":2,\"key\":\"SummonerClairvoyance\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\"]},\"1\":{\"name\":\"Cleanse\",\"description\":\"Removes
109
+ all disables and summoner spell debuffs affecting your champion and lowers
110
+ the duration of incoming disables by 65% for 3 seconds.\",\"sanitizedDescription\":\"Removes
111
+ all disables and summoner spell debuffs affecting your champion and lowers
112
+ the duration of incoming disables by 65% for 3 seconds.\",\"tooltip\":\"Removes
113
+ all disables and summoner spell debuffs affecting your champion and reduces
114
+ the duration of disables by 65% for the next {{ f1 }} seconds.\",\"sanitizedTooltip\":\"Removes
115
+ all disables and summoner spell debuffs affecting your champion and reduces
116
+ the duration of disables by 65% for the next {{ f1 }} seconds.\",\"image\":{\"full\":\"SummonerBoost.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":96,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
117
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[3.0]}],\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":2,\"id\":1,\"key\":\"SummonerBoost\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"10\":{\"name\":\"Revive\",\"description\":\"Instantly
118
+ revives your champion at your team's Summoner Platform and increases their
119
+ Movement Speed for a short duration.\",\"sanitizedDescription\":\"Instantly
120
+ revives your champion at your team's Summoner Platform and increases their
121
+ Movement Speed for a short duration.\",\"tooltip\":\"Instantly revives your
122
+ champion at your team's Summoner Platform and grants +{{ f3 }}% Movement Speed
123
+ that decays over 12 seconds.\",\"sanitizedTooltip\":\"Instantly revives your
124
+ champion at your team's Summoner Platform and grants +{{ f3 }}% Movement Speed
125
+ that decays over 12 seconds.\",\"image\":{\"full\":\"SummonerRevive.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":192,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
126
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":1,\"id\":10,\"key\":\"SummonerRevive\",\"modes\":[\"CLASSIC\",\"TUTORIAL\",\"ODIN\"]},\"7\":{\"name\":\"Heal\",\"description\":\"Restores
127
+ 90-495 Health (depending on champion level) and Grants 30% Movement Speed
128
+ for 2 seconds to you and target allied champion. Additionally removes any
129
+ healing reduction effects that afflict either champion.\",\"sanitizedDescription\":\"Restores
130
+ 90-495 Health (depending on champion level) and Grants 30% Movement Speed
131
+ for 2 seconds to you and target allied champion. Additionally removes any
132
+ healing reduction effects that afflict either champion.\",\"tooltip\":\"Restores
133
+ {{ f1 }} Health and grants 30% Movement Speed for 2 seconds to you and targeted
134
+ champion, then removes any healing reduction effects that afflict either champion.<br><br><span
135
+ class=\\\"colorFFFF00\\\">If this spell cannot find a target, it will cast
136
+ on the most wounded allied champion in range.</span>\",\"sanitizedTooltip\":\"Restores
137
+ {{ f1 }} Health and grants 30% Movement Speed for 2 seconds to you and targeted
138
+ champion, then removes any healing reduction effects that afflict either champion.
139
+ If this spell cannot find a target, it will cast on the most wounded allied
140
+ champion in range.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerHeal.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":432,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
141
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[300],\"cooldownBurn\":\"300\",\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[145.0,170.0,195.0,220.0,245.0,270.0,295.0,320.0,345.0,370.0,395.0,420.0,445.0,470.0,495.0,520.0,545.0,570.0]}],\"range\":[850],\"rangeBurn\":\"850\",\"summonerLevel\":2,\"id\":7,\"key\":\"SummonerHeal\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"6\":{\"name\":\"Ghost\",\"description\":\"Your
142
+ champion can move through units and has 27% increased Movement Speed for 10
143
+ seconds\",\"sanitizedDescription\":\"Your champion can move through units
144
+ and has 27% increased Movement Speed for 10 seconds\",\"tooltip\":\"Your champion
145
+ can move through units and has {{ f1 }}% increased Movement Speed for 10 seconds.\",\"sanitizedTooltip\":\"Your
146
+ champion can move through units and has {{ f1 }}% increased Movement Speed
147
+ for 10 seconds.\",\"image\":{\"full\":\"SummonerHaste.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":384,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
148
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[27.0]}],\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":1,\"id\":6,\"key\":\"SummonerHaste\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"4\":{\"name\":\"Flash\",\"description\":\"Teleports
149
+ your champion a short distance toward your cursor's location.\",\"sanitizedDescription\":\"Teleports
150
+ your champion a short distance toward your cursor's location.\",\"tooltip\":\"Teleports
151
+ your champion a short distance toward your cursor's location.\",\"sanitizedTooltip\":\"Teleports
152
+ your champion a short distance toward your cursor's location.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerFlash.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":288,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
153
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"range\":[425],\"rangeBurn\":\"425\",\"summonerLevel\":12,\"id\":4,\"key\":\"SummonerFlash\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]}}}"
154
+ http_version:
155
+ recorded_at: Thu, 17 Apr 2014 19:12:27 GMT
156
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,156 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://prod.api.pvp.net/api/lol/static-data/na/v1.2/summoner-spell?api_key=test_key&dataById=true&locale=en_US&spellData=all&version
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.9
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Access-Control-Allow-Headers:
22
+ - Content-Type
23
+ Access-Control-Allow-Methods:
24
+ - GET, POST, DELETE, PUT
25
+ Access-Control-Allow-Origin:
26
+ - "*"
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Date:
30
+ - Thu, 17 Apr 2014 19:11:53 GMT
31
+ Server:
32
+ - Jetty(9.1.1.v20140108)
33
+ Vary:
34
+ - Accept-Encoding, User-Agent
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ body:
40
+ encoding: UTF-8
41
+ string: "{\"type\":\"summoner\",\"version\":\"4.5.4\",\"data\":{\"17\":{\"name\":\"Garrison\",\"description\":\"Allied
42
+ Turret: Grants massive regeneration for 8 seconds. Enemy Turret: Reduces damage
43
+ dealt by 80% for 8 seconds.\",\"sanitizedDescription\":\"Allied Turret: Grants
44
+ massive regeneration for 8 seconds. Enemy Turret: Reduces damage dealt by
45
+ 80% for 8 seconds.\",\"tooltip\":\"<span class=\\\"size16 colorFF9900\\\">Allied
46
+ Turret:</span> Grants massive regeneration for 8 seconds.<br><br><span class=\\\"size16
47
+ colorFF9900\\\">Enemy Turret:</span> Reduces damage dealt by 80% for 8 seconds.\",\"sanitizedTooltip\":\"Allied
48
+ Turret: Grants massive regeneration for 8 seconds. Enemy Turret: Reduces damage
49
+ dealt by 80% for 8 seconds.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerOdinGarrison.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":48,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
50
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[210],\"cooldownBurn\":\"210\",\"range\":[1250],\"rangeBurn\":\"1250\",\"summonerLevel\":1,\"id\":17,\"key\":\"SummonerOdinGarrison\",\"modes\":[\"ODIN\"]},\"13\":{\"name\":\"Clarity\",\"description\":\"Restores
51
+ 40% of your champion's maximum Mana. Also restores allies for 40% of their
52
+ maximum Mana\",\"sanitizedDescription\":\"Restores 40% of your champion's
53
+ maximum Mana. Also restores allies for 40% of their maximum Mana\",\"tooltip\":\"Restores
54
+ {{ f1 }}% maximum Mana to your Champion and nearby allies.\",\"sanitizedTooltip\":\"Restores
55
+ {{ f1 }}% maximum Mana to your Champion and nearby allies.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerMana.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":0,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
56
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[180],\"cooldownBurn\":\"180\",\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[190.0,220.0,250.0,280.0,310.0,340.0,370.0,400.0,430.0,460.0,490.0,520.0,550.0,580.0,610.0,640.0,670.0,700.0]}],\"range\":[600],\"rangeBurn\":\"600\",\"summonerLevel\":1,\"id\":13,\"key\":\"SummonerMana\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"14\":{\"name\":\"Ignite\",\"description\":\"Ignites
57
+ target enemy champion, dealing 70-410 true damage (depending on champion level)
58
+ over 5 seconds, grants you vision of the target, and reduces healing effects
59
+ on them for the duration.\",\"sanitizedDescription\":\"Ignites target enemy
60
+ champion, dealing 70-410 true damage (depending on champion level) over 5
61
+ seconds, grants you vision of the target, and reduces healing effects on them
62
+ for the duration.\",\"tooltip\":\"Ignite deals <span class=\\\"colorFEFCFF\\\">{{
63
+ f1 }}</span> true damage to target enemy champion over 5 seconds, grants you
64
+ vision of the target and applies Grievous Wounds for the duration.<br><br><i>(Grievous
65
+ Wounds reducing incoming healing effects by 50%. This vision does not reveal
66
+ stealthed enemies.)</i>\",\"sanitizedTooltip\":\"Ignite deals {{ f1 }} true
67
+ damage to target enemy champion over 5 seconds, grants you vision of the target
68
+ and applies Grievous Wounds for the duration. (Grievous Wounds reducing incoming
69
+ healing effects by 50%. This vision does not reveal stealthed enemies.)\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerDot.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":192,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
70
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[180],\"cooldownBurn\":\"180\",\"effect\":[[500],[150]],\"effectBurn\":[\"500\",\"150\"],\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[70.0,90.0,110.0,130.0,150.0,170.0,190.0,210.0,230.0,250.0,270.0,290.0,310.0,330.0,350.0,370.0,390.0,410.0]}],\"range\":[600],\"rangeBurn\":\"600\",\"summonerLevel\":8,\"id\":14,\"key\":\"SummonerDot\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"11\":{\"name\":\"Smite\",\"description\":\"Deals
71
+ 390-1000 true damage (depending on champion level) to target monster or enemy
72
+ minion.\",\"sanitizedDescription\":\"Deals 390-1000 true damage (depending
73
+ on champion level) to target monster or enemy minion.\",\"tooltip\":\"Deals
74
+ <span class=\\\"colorFEFCFF\\\">{{ f1 }}</span> true damage to target monster
75
+ or enemy minion.\",\"sanitizedTooltip\":\"Deals {{ f1 }} true damage to target
76
+ monster or enemy minion.\",\"image\":{\"full\":\"SummonerSmite.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":240,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
77
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[445.0,470.0,495.0,520.0,545.0,570.0,595.0,620.0,645.0,670.0,695.0,720.0,745.0,770.0,795.0,820.0,845.0,870.0]}],\"range\":[760],\"rangeBurn\":\"760\",\"summonerLevel\":3,\"id\":11,\"key\":\"SummonerSmite\",\"modes\":[\"CLASSIC\",\"TUTORIAL\",\"ODIN\"]},\"12\":{\"name\":\"Teleport\",\"description\":\"After
78
+ channeling for 3.5 seconds, teleports your champion to target allied minion,
79
+ turret, or ward.\",\"sanitizedDescription\":\"After channeling for 3.5 seconds,
80
+ teleports your champion to target allied minion, turret, or ward.\",\"tooltip\":\"After
81
+ channeling for {{ f1 }} seconds, your champion teleports to target turret,
82
+ minion or ward. Teleporting to an allied turret puts Teleport on a {{ f3 }}
83
+ second cooldown instead.<br><br>You may reactivate Teleport to cancel it,
84
+ placing it on a {{ f3 }} second cooldown.\",\"sanitizedTooltip\":\"After channeling
85
+ for {{ f1 }} seconds, your champion teleports to target turret, minion or
86
+ ward. Teleporting to an allied turret puts Teleport on a {{ f3 }} second cooldown
87
+ instead. You may reactivate Teleport to cancel it, placing it on a {{ f3 }}
88
+ second cooldown.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerTeleport.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":288,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
89
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[300],\"cooldownBurn\":\"300\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[4.0]}],\"range\":[25000],\"rangeBurn\":\"25000\",\"summonerLevel\":6,\"id\":12,\"key\":\"SummonerTeleport\",\"modes\":[\"CLASSIC\",\"TUTORIAL\"]},\"21\":{\"name\":\"Barrier\",\"description\":\"Shields
90
+ your champion for 115-455 (depending on champion level) for 2 seconds.\",\"sanitizedDescription\":\"Shields
91
+ your champion for 115-455 (depending on champion level) for 2 seconds.\",\"tooltip\":\"Temporarily
92
+ shields {{ f1 }} damage from your champion for 2 seconds.\",\"sanitizedTooltip\":\"Temporarily
93
+ shields {{ f1 }} damage from your champion for 2 seconds.\",\"image\":{\"full\":\"SummonerBarrier.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":0,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
94
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@cooldownsummoner\",\"coeff\":[125.0]}],\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":6,\"id\":21,\"key\":\"SummonerBarrier\",\"modes\":[\"ARAM\",\"CLASSIC\",\"TUTORIAL\",\"ODIN\"]},\"3\":{\"name\":\"Exhaust\",\"description\":\"Exhausts
95
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
96
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"sanitizedDescription\":\"Exhausts
97
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
98
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"tooltip\":\"Exhausts
99
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
100
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"sanitizedTooltip\":\"Exhausts
101
+ target enemy champion, reducing their Movement Speed and Attack Speed by 30%
102
+ for 2.5 seconds and reduces their damage dealt by 50% for the duration.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerExhaust.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":240,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
103
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[210],\"cooldownBurn\":\"210\",\"range\":[650],\"rangeBurn\":\"650\",\"summonerLevel\":8,\"id\":3,\"key\":\"SummonerExhaust\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"2\":{\"name\":\"Clairvoyance\",\"description\":\"Reveals
104
+ a small area of the map for your team for 5 seconds.\",\"sanitizedDescription\":\"Reveals
105
+ a small area of the map for your team for 5 seconds.\",\"tooltip\":\"Reveals
106
+ a small area of the map for your team for {{ f1 }} seconds.\",\"sanitizedTooltip\":\"Reveals
107
+ a small area of the map for your team for {{ f1 }} seconds.\",\"image\":{\"full\":\"SummonerClairvoyance.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":144,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
108
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[4.0]}],\"range\":[25000],\"rangeBurn\":\"25000\",\"summonerLevel\":10,\"id\":2,\"key\":\"SummonerClairvoyance\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\"]},\"1\":{\"name\":\"Cleanse\",\"description\":\"Removes
109
+ all disables and summoner spell debuffs affecting your champion and lowers
110
+ the duration of incoming disables by 65% for 3 seconds.\",\"sanitizedDescription\":\"Removes
111
+ all disables and summoner spell debuffs affecting your champion and lowers
112
+ the duration of incoming disables by 65% for 3 seconds.\",\"tooltip\":\"Removes
113
+ all disables and summoner spell debuffs affecting your champion and reduces
114
+ the duration of disables by 65% for the next {{ f1 }} seconds.\",\"sanitizedTooltip\":\"Removes
115
+ all disables and summoner spell debuffs affecting your champion and reduces
116
+ the duration of disables by 65% for the next {{ f1 }} seconds.\",\"image\":{\"full\":\"SummonerBoost.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":96,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
117
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[3.0]}],\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":2,\"id\":1,\"key\":\"SummonerBoost\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"10\":{\"name\":\"Revive\",\"description\":\"Instantly
118
+ revives your champion at your team's Summoner Platform and increases their
119
+ Movement Speed for a short duration.\",\"sanitizedDescription\":\"Instantly
120
+ revives your champion at your team's Summoner Platform and increases their
121
+ Movement Speed for a short duration.\",\"tooltip\":\"Instantly revives your
122
+ champion at your team's Summoner Platform and grants +{{ f3 }}% Movement Speed
123
+ that decays over 12 seconds.\",\"sanitizedTooltip\":\"Instantly revives your
124
+ champion at your team's Summoner Platform and grants +{{ f3 }}% Movement Speed
125
+ that decays over 12 seconds.\",\"image\":{\"full\":\"SummonerRevive.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":192,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
126
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":1,\"id\":10,\"key\":\"SummonerRevive\",\"modes\":[\"CLASSIC\",\"TUTORIAL\",\"ODIN\"]},\"7\":{\"name\":\"Heal\",\"description\":\"Restores
127
+ 90-495 Health (depending on champion level) and Grants 30% Movement Speed
128
+ for 2 seconds to you and target allied champion. Additionally removes any
129
+ healing reduction effects that afflict either champion.\",\"sanitizedDescription\":\"Restores
130
+ 90-495 Health (depending on champion level) and Grants 30% Movement Speed
131
+ for 2 seconds to you and target allied champion. Additionally removes any
132
+ healing reduction effects that afflict either champion.\",\"tooltip\":\"Restores
133
+ {{ f1 }} Health and grants 30% Movement Speed for 2 seconds to you and targeted
134
+ champion, then removes any healing reduction effects that afflict either champion.<br><br><span
135
+ class=\\\"colorFFFF00\\\">If this spell cannot find a target, it will cast
136
+ on the most wounded allied champion in range.</span>\",\"sanitizedTooltip\":\"Restores
137
+ {{ f1 }} Health and grants 30% Movement Speed for 2 seconds to you and targeted
138
+ champion, then removes any healing reduction effects that afflict either champion.
139
+ If this spell cannot find a target, it will cast on the most wounded allied
140
+ champion in range.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerHeal.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":432,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
141
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[300],\"cooldownBurn\":\"300\",\"vars\":[{\"key\":\"f1\",\"link\":\"@player.level\",\"coeff\":[145.0,170.0,195.0,220.0,245.0,270.0,295.0,320.0,345.0,370.0,395.0,420.0,445.0,470.0,495.0,520.0,545.0,570.0]}],\"range\":[850],\"rangeBurn\":\"850\",\"summonerLevel\":2,\"id\":7,\"key\":\"SummonerHeal\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"6\":{\"name\":\"Ghost\",\"description\":\"Your
142
+ champion can move through units and has 27% increased Movement Speed for 10
143
+ seconds\",\"sanitizedDescription\":\"Your champion can move through units
144
+ and has 27% increased Movement Speed for 10 seconds\",\"tooltip\":\"Your champion
145
+ can move through units and has {{ f1 }}% increased Movement Speed for 10 seconds.\",\"sanitizedTooltip\":\"Your
146
+ champion can move through units and has {{ f1 }}% increased Movement Speed
147
+ for 10 seconds.\",\"image\":{\"full\":\"SummonerHaste.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":384,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
148
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[27.0]}],\"range\":\"self\",\"rangeBurn\":\"self\",\"summonerLevel\":1,\"id\":6,\"key\":\"SummonerHaste\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]},\"4\":{\"name\":\"Flash\",\"description\":\"Teleports
149
+ your champion a short distance toward your cursor's location.\",\"sanitizedDescription\":\"Teleports
150
+ your champion a short distance toward your cursor's location.\",\"tooltip\":\"Teleports
151
+ your champion a short distance toward your cursor's location.\",\"sanitizedTooltip\":\"Teleports
152
+ your champion a short distance toward your cursor's location.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerFlash.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":288,\"y\":0,\"w\":48,\"h\":48},\"resource\":\"No
153
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[0],\"cooldownBurn\":\"0\",\"range\":[425],\"rangeBurn\":\"425\",\"summonerLevel\":12,\"id\":4,\"key\":\"SummonerFlash\",\"modes\":[\"CLASSIC\",\"ODIN\",\"TUTORIAL\",\"ARAM\"]}}}"
154
+ http_version:
155
+ recorded_at: Thu, 17 Apr 2014 19:12:27 GMT
156
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,55 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://prod.api.pvp.net/api/lol/static-data/na/v1.2/summoner-spell/12?api_key=test_key&locale=en_US&spellData=all&version
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.9
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Access-Control-Allow-Headers:
22
+ - Content-Type
23
+ Access-Control-Allow-Methods:
24
+ - GET, POST, DELETE, PUT
25
+ Access-Control-Allow-Origin:
26
+ - "*"
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Date:
30
+ - Thu, 17 Apr 2014 19:08:16 GMT
31
+ Server:
32
+ - Jetty(9.1.1.v20140108)
33
+ Vary:
34
+ - Accept-Encoding, User-Agent
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ body:
40
+ encoding: UTF-8
41
+ string: "{\"name\":\"Teleport\",\"description\":\"After channeling for 3.5 seconds,
42
+ teleports your champion to target allied minion, turret, or ward.\",\"sanitizedDescription\":\"After
43
+ channeling for 3.5 seconds, teleports your champion to target allied minion,
44
+ turret, or ward.\",\"tooltip\":\"After channeling for {{ f1 }} seconds, your
45
+ champion teleports to target turret, minion or ward. Teleporting to an allied
46
+ turret puts Teleport on a {{ f3 }} second cooldown instead.<br><br>You may
47
+ reactivate Teleport to cancel it, placing it on a {{ f3 }} second cooldown.\",\"sanitizedTooltip\":\"After
48
+ channeling for {{ f1 }} seconds, your champion teleports to target turret,
49
+ minion or ward. Teleporting to an allied turret puts Teleport on a {{ f3 }}
50
+ second cooldown instead. You may reactivate Teleport to cancel it, placing
51
+ it on a {{ f3 }} second cooldown.\",\"leveltip\":{\"label\":[\"\"],\"effect\":[\"\"]},\"image\":{\"full\":\"SummonerTeleport.png\",\"sprite\":\"spell0.png\",\"group\":\"spell\",\"x\":288,\"y\":48,\"w\":48,\"h\":48},\"resource\":\"No
52
+ Cost\",\"maxrank\":1,\"cost\":[0],\"costType\":\"NoCost\",\"costBurn\":\"0\",\"cooldown\":[300],\"cooldownBurn\":\"300\",\"vars\":[{\"key\":\"f1\",\"link\":\"@text\",\"coeff\":[4.0]}],\"range\":[25000],\"rangeBurn\":\"25000\",\"summonerLevel\":6,\"id\":12,\"key\":\"SummonerTeleport\",\"modes\":[\"CLASSIC\",\"TUTORIAL\"]}"
53
+ http_version:
54
+ recorded_at: Thu, 17 Apr 2014 19:08:50 GMT
55
+ recorded_with: VCR 2.9.0