ruby-lol 0.12.2 → 1.0.0

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 (167) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +16 -0
  3. data/.gitignore +2 -0
  4. data/.rspec +1 -0
  5. data/.rubocop.yml +1157 -0
  6. data/.travis.yml +1 -1
  7. data/lib/lol/champion_mastery_request.rb +29 -57
  8. data/lib/lol/champion_request.rb +19 -23
  9. data/lib/lol/client.rb +16 -21
  10. data/lib/lol/dynamic_model.rb +14 -5
  11. data/lib/lol/featured_game_list.rb +15 -0
  12. data/lib/lol/league_request.rb +28 -49
  13. data/lib/lol/lol_status_request.rb +9 -26
  14. data/lib/lol/masteries_request.rb +14 -0
  15. data/lib/lol/match_request.rb +51 -9
  16. data/lib/lol/request.rb +55 -21
  17. data/lib/lol/runes_request.rb +14 -0
  18. data/lib/lol/spectator_request.rb +24 -0
  19. data/lib/lol/static_request.rb +34 -23
  20. data/lib/lol/summoner_request.rb +22 -51
  21. data/lib/lol/tournament_request.rb +95 -0
  22. data/lib/lol/version.rb +1 -1
  23. data/ruby-lol.gemspec +1 -1
  24. data/spec/api_version_spec.rb +10 -9
  25. data/spec/fixtures/{v1.2 → v3}/get-champion-266.json +0 -0
  26. data/spec/fixtures/{v1.2/get-champion.json → v3/get-champion-all.json} +0 -0
  27. data/spec/fixtures/{v1.0/get-champion-mastery-champions.json → v3/get-champion-masteries.json} +0 -0
  28. data/spec/fixtures/{v1.0/get-champion-mastery-champion.json → v3/get-champion-mastery.json} +0 -0
  29. data/spec/fixtures/v3/get-current-game.json +1 -0
  30. data/spec/fixtures/v3/get-featured-games.json +1 -0
  31. data/spec/fixtures/v3/get-ids-by-tc.json +1 -0
  32. data/spec/fixtures/v3/get-league-challenger.json +1 -0
  33. data/spec/fixtures/v3/get-league-master.json +1 -0
  34. data/spec/fixtures/v3/get-league-positions.json +1 -0
  35. data/spec/fixtures/v3/get-league-summoner.json +1 -0
  36. data/spec/fixtures/v3/get-lol-status-shard.json +1 -0
  37. data/spec/fixtures/v3/get-masteries.json +1 -0
  38. data/spec/fixtures/v3/get-match-with-tc.json +1 -0
  39. data/spec/fixtures/v3/get-match.json +1 -0
  40. data/spec/fixtures/v3/get-matches-recent.json +1 -0
  41. data/spec/fixtures/v3/get-matches.json +1 -0
  42. data/spec/fixtures/v3/get-runes.json +1 -0
  43. data/spec/fixtures/v3/get-static-champions-by-id.json +1 -0
  44. data/spec/fixtures/v3/get-static-champions.json +1 -0
  45. data/spec/fixtures/v3/get-static-items-by-id.json +1 -0
  46. data/spec/fixtures/v3/get-static-items.json +1 -0
  47. data/spec/fixtures/v3/get-static-maps.json +1 -0
  48. data/spec/fixtures/v3/get-static-masteries-by-id.json +1 -0
  49. data/spec/fixtures/v3/get-static-masteries.json +1 -0
  50. data/spec/fixtures/v3/get-static-realms.json +1 -0
  51. data/spec/fixtures/v3/get-static-runes-by-id.json +1 -0
  52. data/spec/fixtures/v3/get-static-runes.json +1 -0
  53. data/spec/fixtures/v3/get-static-summoner-spells-by-id.json +1 -0
  54. data/spec/fixtures/v3/get-static-summoner-spells.json +1 -0
  55. data/spec/fixtures/v3/get-static-versions.json +1 -0
  56. data/spec/fixtures/v3/get-summoner-by-name.json +1 -0
  57. data/spec/fixtures/v3/get-summoner.json +1 -0
  58. data/spec/fixtures/v3/get-timeline.json +1 -0
  59. data/spec/fixtures/v3/get-tournament-code.json +1 -0
  60. data/spec/lol/champion_mastery_request_spec.rb +33 -133
  61. data/spec/lol/champion_request_spec.rb +17 -30
  62. data/spec/lol/client_spec.rb +12 -56
  63. data/spec/lol/league_request_spec.rb +29 -72
  64. data/spec/lol/lol_status_request_spec.rb +6 -34
  65. data/spec/lol/masteries_request_spec.rb +15 -0
  66. data/spec/lol/match_request_spec.rb +45 -10
  67. data/spec/lol/request_spec.rb +5 -5
  68. data/spec/lol/runes_request_spec.rb +15 -0
  69. data/spec/lol/spectator_request_spec.rb +23 -0
  70. data/spec/lol/static_request_spec.rb +44 -48
  71. data/spec/lol/summoner_request_spec.rb +20 -71
  72. data/spec/lol/tournament_request_spec.rb +36 -0
  73. metadata +92 -175
  74. data/lib/lol/champion.rb +0 -37
  75. data/lib/lol/champion_mastery.rb +0 -50
  76. data/lib/lol/champion_statistics_summary.rb +0 -25
  77. data/lib/lol/current_game_request.rb +0 -16
  78. data/lib/lol/featured_games_request.rb +0 -15
  79. data/lib/lol/game.rb +0 -85
  80. data/lib/lol/game_request.rb +0 -19
  81. data/lib/lol/league.rb +0 -32
  82. data/lib/lol/league_entry.rb +0 -74
  83. data/lib/lol/mastery.rb +0 -16
  84. data/lib/lol/mastery_page.rb +0 -28
  85. data/lib/lol/match_list_request.rb +0 -15
  86. data/lib/lol/match_summary.rb +0 -59
  87. data/lib/lol/mini_series.rb +0 -29
  88. data/lib/lol/model.rb +0 -28
  89. data/lib/lol/player.rb +0 -21
  90. data/lib/lol/player_statistic.rb +0 -46
  91. data/lib/lol/ranked_statistics_summary.rb +0 -35
  92. data/lib/lol/roster.rb +0 -23
  93. data/lib/lol/rune_page.rb +0 -28
  94. data/lib/lol/rune_slot.rb +0 -29
  95. data/lib/lol/stats_request.rb +0 -35
  96. data/lib/lol/summoner.rb +0 -36
  97. data/lib/lol/team.rb +0 -110
  98. data/lib/lol/team_member.rb +0 -33
  99. data/lib/lol/team_request.rb +0 -32
  100. data/lib/lol/team_statistic.rb +0 -53
  101. data/lib/lol/tournament_code.rb +0 -58
  102. data/lib/lol/tournament_provider_request.rb +0 -111
  103. data/spec/fixtures/v1.0/get-champion-mastery-top-champions-10.json +0 -121
  104. data/spec/fixtures/v1.0/get-champion-mastery-top-champions.json +0 -38
  105. data/spec/fixtures/v1.0/get-current-game.json +0 -1065
  106. data/spec/fixtures/v1.0/get-featured-games.json +0 -730
  107. data/spec/fixtures/v1.0/get-lol-status-shard-by-region.json +0 -39
  108. data/spec/fixtures/v1.0/get-lol-status-shards.json +0 -78
  109. data/spec/fixtures/v1.2/get-champion-by-id.json +0 -6
  110. data/spec/fixtures/v1.2/get-item-by-id.json +0 -6
  111. data/spec/fixtures/v1.2/get-item.json +0 -1563
  112. data/spec/fixtures/v1.2/get-mastery-by-id.json +0 -9
  113. data/spec/fixtures/v1.2/get-mastery.json +0 -389
  114. data/spec/fixtures/v1.2/get-realm.json +0 -1
  115. data/spec/fixtures/v1.2/get-rune-by-id.json +0 -26
  116. data/spec/fixtures/v1.2/get-rune.json +0 -2966
  117. data/spec/fixtures/v1.2/get-static-champion.json +0 -714
  118. data/spec/fixtures/v1.2/get-summoner-spell-by-id.json +0 -39
  119. data/spec/fixtures/v1.2/get-summoner-spell.json +0 -97
  120. data/spec/fixtures/v1.2/get-versions.json +0 -1
  121. data/spec/fixtures/v1.3/get-game.json +0 -1040
  122. data/spec/fixtures/v1.3/get-ranked_stats.json +0 -1
  123. data/spec/fixtures/v1.3/get-stats.json +0 -1
  124. data/spec/fixtures/v1.4/get-summoner-by-name.json +0 -1
  125. data/spec/fixtures/v1.4/get-summoner-masteries.json +0 -898
  126. data/spec/fixtures/v1.4/get-summoner-name.json +0 -1
  127. data/spec/fixtures/v1.4/get-summoner-runes.json +0 -2547
  128. data/spec/fixtures/v1.4/get-summoner.json +0 -1
  129. data/spec/fixtures/v2.2/get-match.json +0 -1
  130. data/spec/fixtures/v2.2/get-match_list.json +0 -1
  131. data/spec/fixtures/v2.4/get-by-summoner.json +0 -1
  132. data/spec/fixtures/v2.4/get-team.json +0 -1
  133. data/spec/fixtures/v2.5/get-league-by-team.json +0 -1
  134. data/spec/fixtures/v2.5/get-league-challenger.json +0 -1
  135. data/spec/fixtures/v2.5/get-league-entry-by-team.json +0 -1
  136. data/spec/fixtures/v2.5/get-league-entry.json +0 -1
  137. data/spec/fixtures/v2.5/get-league-master.json +0 -1
  138. data/spec/fixtures/v2.5/get-league.json +0 -1
  139. data/spec/lol/champion_mastery_spec.rb +0 -20
  140. data/spec/lol/champion_spec.rb +0 -19
  141. data/spec/lol/champion_statistics_summary_spec.rb +0 -38
  142. data/spec/lol/current_game_request_spec.rb +0 -47
  143. data/spec/lol/featured_games_request_spec.rb +0 -39
  144. data/spec/lol/game_request_spec.rb +0 -32
  145. data/spec/lol/game_spec.rb +0 -51
  146. data/spec/lol/league_entry_spec.rb +0 -51
  147. data/spec/lol/league_spec.rb +0 -31
  148. data/spec/lol/mastery_page_spec.rb +0 -29
  149. data/spec/lol/mastery_spec.rb +0 -17
  150. data/spec/lol/match_list_request_spec.rb +0 -39
  151. data/spec/lol/match_summary_spec.rb +0 -25
  152. data/spec/lol/mini_series_spec.rb +0 -25
  153. data/spec/lol/model_spec.rb +0 -13
  154. data/spec/lol/player_spec.rb +0 -19
  155. data/spec/lol/player_statistic_spec.rb +0 -44
  156. data/spec/lol/ranked_statistics_summary_spec.rb +0 -32
  157. data/spec/lol/roster_spec.rb +0 -24
  158. data/spec/lol/rune_page_spec.rb +0 -28
  159. data/spec/lol/rune_slot_spec.rb +0 -16
  160. data/spec/lol/stats_request_spec.rb +0 -93
  161. data/spec/lol/summoner_spec.rb +0 -20
  162. data/spec/lol/team_member_spec.rb +0 -27
  163. data/spec/lol/team_request_spec.rb +0 -47
  164. data/spec/lol/team_spec.rb +0 -54
  165. data/spec/lol/team_statistic_spec.rb +0 -20
  166. data/spec/lol/tournament_code_spec.rb +0 -20
  167. data/spec/lol/tournament_provider_request_spec.rb +0 -73
@@ -1,32 +0,0 @@
1
- module Lol
2
- class TeamRequest < Request
3
- # Returns the supported API version
4
- # @return [String] supported api version
5
- def self.api_version
6
- "v2.4"
7
- end
8
-
9
- # Retrieves the list of Teams for the given summoner
10
- # @return [Array] List of Team
11
- def by_summoner *summoner_ids
12
- returns = {}
13
- perform_request(api_url "team/by-summoner/#{summoner_ids.join(",")}").each do |s, t|
14
- returns[s] = []
15
- t.each do |team|
16
- returns[s] << Team.new(team)
17
- end
18
- end
19
- returns
20
- end
21
-
22
- # Retrieves the Teams for the given Team ID
23
- # @return [Team]
24
- def get *team_ids
25
- returns = {}
26
- perform_request(api_url "team/#{team_ids.join(",")}").each do |t,d|
27
- returns[t] = Team.new d
28
- end
29
- returns
30
- end
31
- end
32
- end
@@ -1,53 +0,0 @@
1
- require 'lol/model'
2
-
3
- module Lol
4
- class TeamStatistic < Lol::Model
5
- # @!attribute [r] full_id
6
- # @return [String] Full Team ID
7
- attr_reader :full_id
8
-
9
- # @!attribute [r] average_games_played
10
- # @return [Fixnum] Average games played
11
- attr_reader :average_games_played
12
-
13
- # @!attribute [r] average_games_played
14
- # @return [Fixnum] Average games played
15
- attr_reader :average_games_played
16
-
17
- # @!attribute [r] losses
18
- # @return [Fixnum] Number of losses
19
- attr_reader :losses
20
-
21
- # @!attribute [r] max_rating
22
- # @return [Fixnum] Max Ratingx
23
- attr_reader :max_rating
24
-
25
- # @!attribute [r] rating
26
- # @return [Fixnum] Rating
27
- attr_reader :rating
28
-
29
- # @!attribute [r] seed_rating
30
- # @return [Fixnum] Seed Rating
31
- attr_reader :seed_rating
32
-
33
- # @!attribute [r] team_id
34
- # @return [Fixnum] Team Id
35
- attr_reader :team_id
36
-
37
- # @!attribute [r] team_stat_type
38
- # @return [String] Team Statistic Type name
39
- attr_reader :team_stat_type
40
-
41
- # @!attribute [r] wins
42
- # @return [Fixnum] Number of wins
43
- attr_reader :wins
44
-
45
- private
46
-
47
- attr_writer :average_games_played, :losses, :max_rating, :rating, :seed_rating, :team_stat_type, :wins, :full_id
48
-
49
- def team_id= value
50
- @team_id = value.is_a?(Hash) && value['fullId'] || value
51
- end
52
- end
53
- end
@@ -1,58 +0,0 @@
1
- require 'lol/model'
2
-
3
- module Lol
4
- class TournamentCode < Lol::Model
5
- attr_reader :id
6
-
7
- attr_reader :provider_id
8
-
9
- # @!attribute [r] tournament_id
10
- # @return [Fixnum] Tournament ID
11
- attr_reader :tournament_id
12
-
13
- # @!attribute [r] code
14
- # @return [String] Code
15
- attr_reader :code
16
-
17
- # @!attribute [r] region
18
- # @return [String] Region
19
- attr_reader :region
20
-
21
- # @!attribute [r] map
22
- # @return [String] Map
23
- attr_reader :map
24
-
25
- # @!attribute [r] team_size
26
- # @return [Fixnum] Team Size
27
- attr_reader :team_size
28
-
29
- # @!attribute [r] spectators
30
- # @return [String] Spectators Type
31
- attr_reader :spectators
32
-
33
- # @!attribute [r] pick_type
34
- # @return [String] Pick Type
35
- attr_reader :pick_type
36
-
37
- # @!attribute [r] lobby_name
38
- # @return [String] Lobby Name
39
- attr_reader :lobby_name
40
-
41
- # @!attribute [r] participants
42
- # @return [Array] Summoner IDS of Allowed participants
43
- attr_reader :participants
44
-
45
- attr_reader :password
46
-
47
- private
48
-
49
- attr_writer :id, :provider_id, :tournament_id, :code, :region, :map, :team_size,
50
- :spectators, :pick_type, :lobby_name, :password, :participants
51
-
52
- def initialize options = {}
53
- super
54
- @participants = [] if @participants.nil?
55
- end
56
-
57
- end
58
- end
@@ -1,111 +0,0 @@
1
- module Lol
2
- class TournamentProviderRequest < Request
3
- # Returns the supported API Version
4
- # @return [String] the supported api version
5
- def self.api_version
6
- "v1"
7
- end
8
-
9
- def api_base_url
10
- "https://global.api.pvp.net"
11
- end
12
-
13
- # Returns a full url for an API call
14
- # @param path [String] API path to call
15
- # @return [String] full fledged url
16
- def api_url path, params = {}
17
- "#{api_base_url}/tournament/public/#{self.class.api_version}/#{path}"
18
- end
19
-
20
- def tournament_request path, body
21
- perform_request(api_url(path), :post, body)
22
- end
23
-
24
- # Returns a tournament code
25
- # @param tournament_id [Integer] Tournament ID
26
- # @param count [Integer] Number of tournament codes to generate
27
- # @param options [Hash] Tournament Code options hash
28
- # @option options [Integer] :team_size Team Size 1-5
29
- # @option options [Array] :allowed_summoner_ids SummonerIds spec
30
- # @option options [String] :game_lobby_name Not used for now
31
- # @option options [String] :spectator_type NONE, LOBBYONLY, ALL
32
- # @option options [String] :password Game Lobby password, mandatory
33
- # @option options [String] :pick_type BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT
34
- # @option options [String] :map_type SUMMONERS_RIFT, CRYSTAL_SCAR, HOWLING_ABYSS
35
- # @option options [String] :metadata Optional metadata String
36
- def code tournament_id, count = 1, options = {}
37
- team_size = options.delete(:team_size) || 5
38
- allowed_summoner_ids = options.delete(:allowed_summoner_ids)
39
- game_lobby_name = options.delete(:game_lobby_name) || "Lobby"
40
- spectator_type = options.delete(:spectator_type) || "ALL"
41
- password = options.delete(:password)
42
- pick_type = options.delete(:pick_type) || "TOURNAMENT_DRAFT"
43
- map_type = options.delete(:map_type) || "SUMMONERS_RIFT"
44
- metadata = options.delete(:metadata)
45
-
46
- body = {
47
- teamSize: team_size,
48
- gameLobbyName: game_lobby_name,
49
- spectatorType: spectator_type,
50
- pickType: pick_type,
51
- mapType: map_type
52
- }
53
-
54
- body.merge!({allowedSummonerIds: allowed_summoner_ids}) if allowed_summoner_ids
55
- body.merge!({metadata: metadata}) if metadata
56
- body.merge!({password: password}) if password
57
-
58
- params = URI.encode_www_form({tournamentId: tournament_id, count: count})
59
- tournament_request "code?#{params}", body
60
- end
61
-
62
- # Returns the details of the tournament code
63
- # @param tournament_code [String] Tournament code
64
- def get_code tournament_code
65
- TournamentCode.new perform_request(api_url("code/#{tournament_code}?#{api_query_string}"))
66
- end
67
-
68
- # Returns the updated tournament code
69
- # @param tournament_code [String] Tournament Code
70
- # @param options [Hash] Tournament Code options hash
71
- # @option options [Array] :allowed_participants Array of allowed summoner ids (minimum 10)
72
- # @option options [String] :pick_type BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT
73
- # @option options [String] :map_type SUMMONERS_RIFT, CRYSTAL_SCAR, HOWLING_ABYSS
74
- # @option options [String] :spectator_type NONE, LOBBYONLY, ALL
75
- def update_code tournament_code, options = {}
76
- allowed_participants = options.delete(:allowed_participants) || nil
77
- allowed_participants = allowed_participants.join(",") unless allowed_participants.nil?
78
- pick_type = options.delete(:pick_type) || nil
79
- map_type = options.delete(:map_type) || nil
80
- spectator_type = options.delete(:spectator_type) || nil
81
-
82
- body = {
83
- allowedParticipants: allowed_participants ,
84
- spectatorType: spectator_type,
85
- pickType: pick_type,
86
- mapType: map_type
87
- }.reject{ |k,v| v.nil? }
88
-
89
- perform_request(api_url("code/#{tournament_code}"), :put, body)
90
- get_code tournament_code
91
- end
92
-
93
- def provider region, url
94
- tournament_request "provider", {region: region, url: url}
95
- end
96
-
97
- def tournament name, provider
98
- tournament_request "tournament", {name: name, providerId: provider}
99
- end
100
-
101
- # Returns a list of the recent games played by a summoner
102
- # @param summoner_id [Fixnum] Summoner id
103
- # @return [Array] an array of games
104
- def recent summoner_id
105
- summoner_api_path = "game/by-summoner/#{summoner_id}/recent"
106
- perform_request(api_url(summoner_api_path))["games"].map do |game_data|
107
- Game.new game_data
108
- end
109
- end
110
- end
111
- end
@@ -1,121 +0,0 @@
1
- [
2
- {
3
- "highestGrade": "S+",
4
- "championPoints": 34356,
5
- "playerId": 496402,
6
- "championPointsUntilNextLevel": 0,
7
- "chestGranted": true,
8
- "championLevel": 5,
9
- "tokensEarned": 2,
10
- "championId": 40,
11
- "championPointsSinceLastLevel": 12756,
12
- "lastPlayTime": 1464499894000
13
- },
14
- {
15
- "highestGrade": "A-",
16
- "championPoints": 8972,
17
- "playerId": 496402,
18
- "championPointsUntilNextLevel": 3628,
19
- "chestGranted": false,
20
- "championLevel": 3,
21
- "tokensEarned": 0,
22
- "championId": 429,
23
- "championPointsSinceLastLevel": 2972,
24
- "lastPlayTime": 1463373502000
25
- },
26
- {
27
- "highestGrade": "A-",
28
- "championPoints": 7355,
29
- "playerId": 496402,
30
- "championPointsUntilNextLevel": 5245,
31
- "chestGranted": false,
32
- "championLevel": 3,
33
- "tokensEarned": 0,
34
- "championId": 15,
35
- "championPointsSinceLastLevel": 1355,
36
- "lastPlayTime": 1462509127000
37
- },
38
- {
39
- "highestGrade": "A+",
40
- "championPoints": 6581,
41
- "playerId": 496402,
42
- "championPointsUntilNextLevel": 6019,
43
- "chestGranted": true,
44
- "championLevel": 3,
45
- "tokensEarned": 0,
46
- "championId": 236,
47
- "championPointsSinceLastLevel": 581,
48
- "lastPlayTime": 1463462873000
49
- },
50
- {
51
- "highestGrade": "S+",
52
- "championPoints": 6555,
53
- "playerId": 496402,
54
- "championPointsUntilNextLevel": 6045,
55
- "chestGranted": false,
56
- "championLevel": 3,
57
- "tokensEarned": 0,
58
- "championId": 267,
59
- "championPointsSinceLastLevel": 555,
60
- "lastPlayTime": 1463983471000
61
- },
62
- {
63
- "highestGrade": "A+",
64
- "championPoints": 4478,
65
- "playerId": 496402,
66
- "championPointsUntilNextLevel": 1522,
67
- "chestGranted": false,
68
- "championLevel": 2,
69
- "tokensEarned": 0,
70
- "championId": 56,
71
- "championPointsSinceLastLevel": 2678,
72
- "lastPlayTime": 1463723059000
73
- },
74
- {
75
- "highestGrade": "A+",
76
- "championPoints": 4285,
77
- "playerId": 496402,
78
- "championPointsUntilNextLevel": 1715,
79
- "chestGranted": false,
80
- "championLevel": 2,
81
- "tokensEarned": 0,
82
- "championId": 245,
83
- "championPointsSinceLastLevel": 2485,
84
- "lastPlayTime": 1462688704000
85
- },
86
- {
87
- "championPoints": 3162,
88
- "playerId": 496402,
89
- "championPointsUntilNextLevel": 2838,
90
- "chestGranted": false,
91
- "championLevel": 2,
92
- "tokensEarned": 0,
93
- "championId": 67,
94
- "championPointsSinceLastLevel": 1362,
95
- "lastPlayTime": 1437768811000
96
- },
97
- {
98
- "highestGrade": "S",
99
- "championPoints": 2686,
100
- "playerId": 496402,
101
- "championPointsUntilNextLevel": 3314,
102
- "chestGranted": false,
103
- "championLevel": 2,
104
- "tokensEarned": 0,
105
- "championId": 81,
106
- "championPointsSinceLastLevel": 886,
107
- "lastPlayTime": 1464415184000
108
- },
109
- {
110
- "highestGrade": "S-",
111
- "championPoints": 2589,
112
- "playerId": 496402,
113
- "championPointsUntilNextLevel": 3411,
114
- "chestGranted": true,
115
- "championLevel": 2,
116
- "tokensEarned": 0,
117
- "championId": 53,
118
- "championPointsSinceLastLevel": 789,
119
- "lastPlayTime": 1463114828000
120
- }
121
- ]
@@ -1,38 +0,0 @@
1
- [
2
- {
3
- "highestGrade": "S+",
4
- "championPoints": 34356,
5
- "playerId": 496402,
6
- "championPointsUntilNextLevel": 0,
7
- "chestGranted": true,
8
- "championLevel": 5,
9
- "tokensEarned": 2,
10
- "championId": 40,
11
- "championPointsSinceLastLevel": 12756,
12
- "lastPlayTime": 1464499894000
13
- },
14
- {
15
- "highestGrade": "A-",
16
- "championPoints": 8972,
17
- "playerId": 496402,
18
- "championPointsUntilNextLevel": 3628,
19
- "chestGranted": false,
20
- "championLevel": 3,
21
- "tokensEarned": 0,
22
- "championId": 429,
23
- "championPointsSinceLastLevel": 2972,
24
- "lastPlayTime": 1463373502000
25
- },
26
- {
27
- "highestGrade": "A-",
28
- "championPoints": 7355,
29
- "playerId": 496402,
30
- "championPointsUntilNextLevel": 5245,
31
- "chestGranted": false,
32
- "championLevel": 3,
33
- "tokensEarned": 0,
34
- "championId": 15,
35
- "championPointsSinceLastLevel": 1355,
36
- "lastPlayTime": 1462509127000
37
- }
38
- ]
@@ -1,1065 +0,0 @@
1
- {
2
- "gameLength": 110,
3
- "gameMode": "CLASSIC",
4
- "mapId": 11,
5
- "bannedChampions": [
6
- {
7
- "pickTurn": 1,
8
- "championId": 38,
9
- "teamId": 100
10
- },
11
- {
12
- "pickTurn": 2,
13
- "championId": 76,
14
- "teamId": 200
15
- },
16
- {
17
- "pickTurn": 3,
18
- "championId": 103,
19
- "teamId": 100
20
- },
21
- {
22
- "pickTurn": 4,
23
- "championId": 59,
24
- "teamId": 200
25
- },
26
- {
27
- "pickTurn": 5,
28
- "championId": 429,
29
- "teamId": 100
30
- },
31
- {
32
- "pickTurn": 6,
33
- "championId": 268,
34
- "teamId": 200
35
- }
36
- ],
37
- "gameType": "MATCHED_GAME",
38
- "gameId": 1725069408,
39
- "observers": {"encryptionKey": "5qe63DEtiL8/gUKix8nkg38N8Ptnqhp9"},
40
- "gameQueueConfigId": 4,
41
- "gameStartTime": 1423479827272,
42
- "participants": [
43
- {
44
- "masteries": [
45
- {
46
- "rank": 2,
47
- "masteryId": 4211
48
- },
49
- {
50
- "rank": 2,
51
- "masteryId": 4212
52
- },
53
- {
54
- "rank": 2,
55
- "masteryId": 4213
56
- },
57
- {
58
- "rank": 1,
59
- "masteryId": 4221
60
- },
61
- {
62
- "rank": 3,
63
- "masteryId": 4222
64
- },
65
- {
66
- "rank": 1,
67
- "masteryId": 4231
68
- },
69
- {
70
- "rank": 1,
71
- "masteryId": 4232
72
- },
73
- {
74
- "rank": 3,
75
- "masteryId": 4233
76
- },
77
- {
78
- "rank": 3,
79
- "masteryId": 4234
80
- },
81
- {
82
- "rank": 3,
83
- "masteryId": 4241
84
- },
85
- {
86
- "rank": 1,
87
- "masteryId": 4242
88
- },
89
- {
90
- "rank": 1,
91
- "masteryId": 4243
92
- },
93
- {
94
- "rank": 1,
95
- "masteryId": 4244
96
- },
97
- {
98
- "rank": 1,
99
- "masteryId": 4251
100
- },
101
- {
102
- "rank": 4,
103
- "masteryId": 4252
104
- },
105
- {
106
- "rank": 1,
107
- "masteryId": 4262
108
- }
109
- ],
110
- "bot": false,
111
- "runes": [
112
- {
113
- "count": 9,
114
- "runeId": 5245
115
- },
116
- {
117
- "count": 9,
118
- "runeId": 5290
119
- },
120
- {
121
- "count": 9,
122
- "runeId": 5316
123
- },
124
- {
125
- "count": 1,
126
- "runeId": 5335
127
- },
128
- {
129
- "count": 2,
130
- "runeId": 5347
131
- }
132
- ],
133
- "spell2Id": 4,
134
- "profileIconId": 508,
135
- "summonerName": "Crown Mee",
136
- "championId": 14,
137
- "teamId": 100,
138
- "summonerId": 21034920,
139
- "spell1Id": 12
140
- },
141
- {
142
- "masteries": [
143
- {
144
- "rank": 2,
145
- "masteryId": 4211
146
- },
147
- {
148
- "rank": 2,
149
- "masteryId": 4212
150
- },
151
- {
152
- "rank": 1,
153
- "masteryId": 4221
154
- },
155
- {
156
- "rank": 3,
157
- "masteryId": 4222
158
- },
159
- {
160
- "rank": 1,
161
- "masteryId": 4232
162
- },
163
- {
164
- "rank": 1,
165
- "masteryId": 4311
166
- },
167
- {
168
- "rank": 3,
169
- "masteryId": 4313
170
- },
171
- {
172
- "rank": 1,
173
- "masteryId": 4314
174
- },
175
- {
176
- "rank": 3,
177
- "masteryId": 4322
178
- },
179
- {
180
- "rank": 1,
181
- "masteryId": 4323
182
- },
183
- {
184
- "rank": 1,
185
- "masteryId": 4324
186
- },
187
- {
188
- "rank": 3,
189
- "masteryId": 4331
190
- },
191
- {
192
- "rank": 1,
193
- "masteryId": 4334
194
- },
195
- {
196
- "rank": 1,
197
- "masteryId": 4341
198
- },
199
- {
200
- "rank": 1,
201
- "masteryId": 4342
202
- },
203
- {
204
- "rank": 1,
205
- "masteryId": 4352
206
- },
207
- {
208
- "rank": 3,
209
- "masteryId": 4353
210
- },
211
- {
212
- "rank": 1,
213
- "masteryId": 4362
214
- }
215
- ],
216
- "bot": false,
217
- "runes": [
218
- {
219
- "count": 3,
220
- "runeId": 5289
221
- },
222
- {
223
- "count": 6,
224
- "runeId": 5301
225
- },
226
- {
227
- "count": 9,
228
- "runeId": 5315
229
- },
230
- {
231
- "count": 3,
232
- "runeId": 5347
233
- },
234
- {
235
- "count": 9,
236
- "runeId": 5402
237
- }
238
- ],
239
- "spell2Id": 3,
240
- "profileIconId": 757,
241
- "summonerName": "FSN Trance",
242
- "championId": 12,
243
- "teamId": 100,
244
- "summonerId": 24777351,
245
- "spell1Id": 4
246
- },
247
- {
248
- "masteries": [
249
- {
250
- "rank": 1,
251
- "masteryId": 4111
252
- },
253
- {
254
- "rank": 3,
255
- "masteryId": 4112
256
- },
257
- {
258
- "rank": 4,
259
- "masteryId": 4113
260
- },
261
- {
262
- "rank": 3,
263
- "masteryId": 4122
264
- },
265
- {
266
- "rank": 1,
267
- "masteryId": 4131
268
- },
269
- {
270
- "rank": 1,
271
- "masteryId": 4132
272
- },
273
- {
274
- "rank": 3,
275
- "masteryId": 4134
276
- },
277
- {
278
- "rank": 1,
279
- "masteryId": 4144
280
- },
281
- {
282
- "rank": 3,
283
- "masteryId": 4152
284
- },
285
- {
286
- "rank": 1,
287
- "masteryId": 4162
288
- },
289
- {
290
- "rank": 2,
291
- "masteryId": 4211
292
- },
293
- {
294
- "rank": 2,
295
- "masteryId": 4214
296
- },
297
- {
298
- "rank": 1,
299
- "masteryId": 4221
300
- },
301
- {
302
- "rank": 3,
303
- "masteryId": 4222
304
- },
305
- {
306
- "rank": 1,
307
- "masteryId": 4232
308
- }
309
- ],
310
- "bot": false,
311
- "runes": [
312
- {
313
- "count": 8,
314
- "runeId": 5245
315
- },
316
- {
317
- "count": 1,
318
- "runeId": 5251
319
- },
320
- {
321
- "count": 9,
322
- "runeId": 5289
323
- },
324
- {
325
- "count": 9,
326
- "runeId": 5317
327
- },
328
- {
329
- "count": 3,
330
- "runeId": 5335
331
- }
332
- ],
333
- "spell2Id": 4,
334
- "profileIconId": 757,
335
- "summonerName": "C9 Hard",
336
- "championId": 421,
337
- "teamId": 100,
338
- "summonerId": 47836799,
339
- "spell1Id": 11
340
- },
341
- {
342
- "masteries": [
343
- {
344
- "rank": 4,
345
- "masteryId": 4112
346
- },
347
- {
348
- "rank": 1,
349
- "masteryId": 4114
350
- },
351
- {
352
- "rank": 3,
353
- "masteryId": 4122
354
- },
355
- {
356
- "rank": 1,
357
- "masteryId": 4124
358
- },
359
- {
360
- "rank": 1,
361
- "masteryId": 4131
362
- },
363
- {
364
- "rank": 1,
365
- "masteryId": 4132
366
- },
367
- {
368
- "rank": 3,
369
- "masteryId": 4134
370
- },
371
- {
372
- "rank": 1,
373
- "masteryId": 4141
374
- },
375
- {
376
- "rank": 1,
377
- "masteryId": 4144
378
- },
379
- {
380
- "rank": 1,
381
- "masteryId": 4151
382
- },
383
- {
384
- "rank": 3,
385
- "masteryId": 4152
386
- },
387
- {
388
- "rank": 1,
389
- "masteryId": 4162
390
- },
391
- {
392
- "rank": 2,
393
- "masteryId": 4211
394
- },
395
- {
396
- "rank": 2,
397
- "masteryId": 4214
398
- },
399
- {
400
- "rank": 1,
401
- "masteryId": 4221
402
- },
403
- {
404
- "rank": 3,
405
- "masteryId": 4222
406
- },
407
- {
408
- "rank": 1,
409
- "masteryId": 4232
410
- }
411
- ],
412
- "bot": false,
413
- "runes": [
414
- {
415
- "count": 6,
416
- "runeId": 5245
417
- },
418
- {
419
- "count": 3,
420
- "runeId": 5247
421
- },
422
- {
423
- "count": 9,
424
- "runeId": 5289
425
- },
426
- {
427
- "count": 9,
428
- "runeId": 5317
429
- },
430
- {
431
- "count": 3,
432
- "runeId": 5335
433
- }
434
- ],
435
- "spell2Id": 4,
436
- "profileIconId": 555,
437
- "summonerName": "Dear Maria",
438
- "championId": 222,
439
- "teamId": 100,
440
- "summonerId": 43839117,
441
- "spell1Id": 7
442
- },
443
- {
444
- "masteries": [
445
- {
446
- "rank": 4,
447
- "masteryId": 4113
448
- },
449
- {
450
- "rank": 1,
451
- "masteryId": 4114
452
- },
453
- {
454
- "rank": 3,
455
- "masteryId": 4122
456
- },
457
- {
458
- "rank": 1,
459
- "masteryId": 4124
460
- },
461
- {
462
- "rank": 1,
463
- "masteryId": 4132
464
- },
465
- {
466
- "rank": 3,
467
- "masteryId": 4134
468
- },
469
- {
470
- "rank": 2,
471
- "masteryId": 4142
472
- },
473
- {
474
- "rank": 1,
475
- "masteryId": 4144
476
- },
477
- {
478
- "rank": 1,
479
- "masteryId": 4151
480
- },
481
- {
482
- "rank": 3,
483
- "masteryId": 4152
484
- },
485
- {
486
- "rank": 1,
487
- "masteryId": 4162
488
- },
489
- {
490
- "rank": 2,
491
- "masteryId": 4211
492
- },
493
- {
494
- "rank": 2,
495
- "masteryId": 4212
496
- },
497
- {
498
- "rank": 1,
499
- "masteryId": 4221
500
- },
501
- {
502
- "rank": 3,
503
- "masteryId": 4222
504
- },
505
- {
506
- "rank": 1,
507
- "masteryId": 4232
508
- }
509
- ],
510
- "bot": false,
511
- "runes": [
512
- {
513
- "count": 9,
514
- "runeId": 5245
515
- },
516
- {
517
- "count": 2,
518
- "runeId": 5277
519
- },
520
- {
521
- "count": 3,
522
- "runeId": 5289
523
- },
524
- {
525
- "count": 4,
526
- "runeId": 5301
527
- },
528
- {
529
- "count": 9,
530
- "runeId": 5317
531
- },
532
- {
533
- "count": 3,
534
- "runeId": 5337
535
- }
536
- ],
537
- "spell2Id": 14,
538
- "profileIconId": 753,
539
- "summonerName": "Liquid Piglet",
540
- "championId": 81,
541
- "teamId": 100,
542
- "summonerId": 62374009,
543
- "spell1Id": 4
544
- },
545
- {
546
- "masteries": [
547
- {
548
- "rank": 1,
549
- "masteryId": 4111
550
- },
551
- {
552
- "rank": 4,
553
- "masteryId": 4113
554
- },
555
- {
556
- "rank": 1,
557
- "masteryId": 4114
558
- },
559
- {
560
- "rank": 3,
561
- "masteryId": 4122
562
- },
563
- {
564
- "rank": 1,
565
- "masteryId": 4124
566
- },
567
- {
568
- "rank": 1,
569
- "masteryId": 4131
570
- },
571
- {
572
- "rank": 1,
573
- "masteryId": 4132
574
- },
575
- {
576
- "rank": 3,
577
- "masteryId": 4134
578
- },
579
- {
580
- "rank": 1,
581
- "masteryId": 4141
582
- },
583
- {
584
- "rank": 1,
585
- "masteryId": 4144
586
- },
587
- {
588
- "rank": 3,
589
- "masteryId": 4152
590
- },
591
- {
592
- "rank": 1,
593
- "masteryId": 4162
594
- },
595
- {
596
- "rank": 2,
597
- "masteryId": 4211
598
- },
599
- {
600
- "rank": 2,
601
- "masteryId": 4212
602
- },
603
- {
604
- "rank": 1,
605
- "masteryId": 4221
606
- },
607
- {
608
- "rank": 3,
609
- "masteryId": 4222
610
- },
611
- {
612
- "rank": 1,
613
- "masteryId": 4232
614
- }
615
- ],
616
- "bot": false,
617
- "runes": [
618
- {
619
- "count": 9,
620
- "runeId": 5253
621
- },
622
- {
623
- "count": 9,
624
- "runeId": 5296
625
- },
626
- {
627
- "count": 9,
628
- "runeId": 5317
629
- },
630
- {
631
- "count": 3,
632
- "runeId": 5335
633
- }
634
- ],
635
- "spell2Id": 14,
636
- "profileIconId": 4,
637
- "summonerName": "Dosk",
638
- "championId": 238,
639
- "teamId": 200,
640
- "summonerId": 65389105,
641
- "spell1Id": 4
642
- },
643
- {
644
- "masteries": [
645
- {
646
- "rank": 1,
647
- "masteryId": 4111
648
- },
649
- {
650
- "rank": 4,
651
- "masteryId": 4113
652
- },
653
- {
654
- "rank": 1,
655
- "masteryId": 4114
656
- },
657
- {
658
- "rank": 3,
659
- "masteryId": 4123
660
- },
661
- {
662
- "rank": 1,
663
- "masteryId": 4124
664
- },
665
- {
666
- "rank": 1,
667
- "masteryId": 4133
668
- },
669
- {
670
- "rank": 3,
671
- "masteryId": 4134
672
- },
673
- {
674
- "rank": 3,
675
- "masteryId": 4143
676
- },
677
- {
678
- "rank": 1,
679
- "masteryId": 4144
680
- },
681
- {
682
- "rank": 1,
683
- "masteryId": 4152
684
- },
685
- {
686
- "rank": 1,
687
- "masteryId": 4154
688
- },
689
- {
690
- "rank": 1,
691
- "masteryId": 4162
692
- },
693
- {
694
- "rank": 2,
695
- "masteryId": 4211
696
- },
697
- {
698
- "rank": 2,
699
- "masteryId": 4212
700
- },
701
- {
702
- "rank": 1,
703
- "masteryId": 4221
704
- },
705
- {
706
- "rank": 3,
707
- "masteryId": 4222
708
- },
709
- {
710
- "rank": 1,
711
- "masteryId": 4232
712
- }
713
- ],
714
- "bot": false,
715
- "runes": [
716
- {
717
- "count": 9,
718
- "runeId": 5273
719
- },
720
- {
721
- "count": 9,
722
- "runeId": 5298
723
- },
724
- {
725
- "count": 3,
726
- "runeId": 5316
727
- },
728
- {
729
- "count": 6,
730
- "runeId": 5318
731
- },
732
- {
733
- "count": 3,
734
- "runeId": 5357
735
- }
736
- ],
737
- "spell2Id": 12,
738
- "profileIconId": 757,
739
- "summonerName": "CaliTrlolz8",
740
- "championId": 82,
741
- "teamId": 200,
742
- "summonerId": 21059607,
743
- "spell1Id": 4
744
- },
745
- {
746
- "masteries": [
747
- {
748
- "rank": 1,
749
- "masteryId": 4111
750
- },
751
- {
752
- "rank": 2,
753
- "masteryId": 4112
754
- },
755
- {
756
- "rank": 1,
757
- "masteryId": 4114
758
- },
759
- {
760
- "rank": 1,
761
- "masteryId": 4121
762
- },
763
- {
764
- "rank": 3,
765
- "masteryId": 4122
766
- },
767
- {
768
- "rank": 1,
769
- "masteryId": 4124
770
- },
771
- {
772
- "rank": 1,
773
- "masteryId": 4131
774
- },
775
- {
776
- "rank": 1,
777
- "masteryId": 4132
778
- },
779
- {
780
- "rank": 3,
781
- "masteryId": 4134
782
- },
783
- {
784
- "rank": 1,
785
- "masteryId": 4141
786
- },
787
- {
788
- "rank": 1,
789
- "masteryId": 4142
790
- },
791
- {
792
- "rank": 1,
793
- "masteryId": 4144
794
- },
795
- {
796
- "rank": 3,
797
- "masteryId": 4152
798
- },
799
- {
800
- "rank": 1,
801
- "masteryId": 4162
802
- },
803
- {
804
- "rank": 2,
805
- "masteryId": 4211
806
- },
807
- {
808
- "rank": 2,
809
- "masteryId": 4214
810
- },
811
- {
812
- "rank": 3,
813
- "masteryId": 4222
814
- },
815
- {
816
- "rank": 1,
817
- "masteryId": 4224
818
- },
819
- {
820
- "rank": 1,
821
- "masteryId": 4232
822
- }
823
- ],
824
- "bot": false,
825
- "runes": [
826
- {
827
- "count": 9,
828
- "runeId": 5245
829
- },
830
- {
831
- "count": 3,
832
- "runeId": 5289
833
- },
834
- {
835
- "count": 6,
836
- "runeId": 5296
837
- },
838
- {
839
- "count": 9,
840
- "runeId": 5317
841
- },
842
- {
843
- "count": 3,
844
- "runeId": 5335
845
- }
846
- ],
847
- "spell2Id": 11,
848
- "profileIconId": 744,
849
- "summonerName": "Voyboyy",
850
- "championId": 121,
851
- "teamId": 200,
852
- "summonerId": 19134540,
853
- "spell1Id": 4
854
- },
855
- {
856
- "masteries": [
857
- {
858
- "rank": 4,
859
- "masteryId": 4112
860
- },
861
- {
862
- "rank": 1,
863
- "masteryId": 4114
864
- },
865
- {
866
- "rank": 3,
867
- "masteryId": 4122
868
- },
869
- {
870
- "rank": 1,
871
- "masteryId": 4124
872
- },
873
- {
874
- "rank": 1,
875
- "masteryId": 4131
876
- },
877
- {
878
- "rank": 1,
879
- "masteryId": 4132
880
- },
881
- {
882
- "rank": 3,
883
- "masteryId": 4134
884
- },
885
- {
886
- "rank": 1,
887
- "masteryId": 4142
888
- },
889
- {
890
- "rank": 1,
891
- "masteryId": 4144
892
- },
893
- {
894
- "rank": 1,
895
- "masteryId": 4151
896
- },
897
- {
898
- "rank": 3,
899
- "masteryId": 4152
900
- },
901
- {
902
- "rank": 1,
903
- "masteryId": 4162
904
- },
905
- {
906
- "rank": 2,
907
- "masteryId": 4211
908
- },
909
- {
910
- "rank": 2,
911
- "masteryId": 4212
912
- },
913
- {
914
- "rank": 1,
915
- "masteryId": 4221
916
- },
917
- {
918
- "rank": 3,
919
- "masteryId": 4222
920
- },
921
- {
922
- "rank": 1,
923
- "masteryId": 4232
924
- }
925
- ],
926
- "bot": false,
927
- "runes": [
928
- {
929
- "count": 9,
930
- "runeId": 5245
931
- },
932
- {
933
- "count": 9,
934
- "runeId": 5289
935
- },
936
- {
937
- "count": 9,
938
- "runeId": 5317
939
- },
940
- {
941
- "count": 3,
942
- "runeId": 5337
943
- }
944
- ],
945
- "spell2Id": 7,
946
- "profileIconId": 4,
947
- "summonerName": "DuBuKiD",
948
- "championId": 236,
949
- "teamId": 200,
950
- "summonerId": 62599179,
951
- "spell1Id": 4
952
- },
953
- {
954
- "masteries": [
955
- {
956
- "rank": 2,
957
- "masteryId": 4211
958
- },
959
- {
960
- "rank": 2,
961
- "masteryId": 4212
962
- },
963
- {
964
- "rank": 1,
965
- "masteryId": 4221
966
- },
967
- {
968
- "rank": 3,
969
- "masteryId": 4222
970
- },
971
- {
972
- "rank": 1,
973
- "masteryId": 4232
974
- },
975
- {
976
- "rank": 1,
977
- "masteryId": 4311
978
- },
979
- {
980
- "rank": 3,
981
- "masteryId": 4313
982
- },
983
- {
984
- "rank": 1,
985
- "masteryId": 4314
986
- },
987
- {
988
- "rank": 3,
989
- "masteryId": 4322
990
- },
991
- {
992
- "rank": 1,
993
- "masteryId": 4323
994
- },
995
- {
996
- "rank": 1,
997
- "masteryId": 4324
998
- },
999
- {
1000
- "rank": 3,
1001
- "masteryId": 4331
1002
- },
1003
- {
1004
- "rank": 1,
1005
- "masteryId": 4334
1006
- },
1007
- {
1008
- "rank": 1,
1009
- "masteryId": 4341
1010
- },
1011
- {
1012
- "rank": 1,
1013
- "masteryId": 4342
1014
- },
1015
- {
1016
- "rank": 1,
1017
- "masteryId": 4352
1018
- },
1019
- {
1020
- "rank": 3,
1021
- "masteryId": 4353
1022
- },
1023
- {
1024
- "rank": 1,
1025
- "masteryId": 4362
1026
- }
1027
- ],
1028
- "bot": false,
1029
- "runes": [
1030
- {
1031
- "count": 9,
1032
- "runeId": 5273
1033
- },
1034
- {
1035
- "count": 9,
1036
- "runeId": 5289
1037
- },
1038
- {
1039
- "count": 5,
1040
- "runeId": 5315
1041
- },
1042
- {
1043
- "count": 4,
1044
- "runeId": 5317
1045
- },
1046
- {
1047
- "count": 1,
1048
- "runeId": 5347
1049
- },
1050
- {
1051
- "count": 2,
1052
- "runeId": 5357
1053
- }
1054
- ],
1055
- "spell2Id": 4,
1056
- "profileIconId": 759,
1057
- "summonerName": "C9 Intense",
1058
- "championId": 25,
1059
- "teamId": 200,
1060
- "summonerId": 19637662,
1061
- "spell1Id": 3
1062
- }
1063
- ],
1064
- "platformId": "NA1"
1065
- }