ruby-lol 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -0
- data/lib/lol/client.rb +5 -0
- data/lib/lol/league_request.rb +1 -1
- data/lib/lol/request.rb +1 -2
- data/lib/lol/static_request.rb +66 -0
- data/lib/lol/version.rb +1 -1
- data/spec/fixtures/v1/get-champion-by-id.json +952 -0
- data/spec/fixtures/v1/get-champion.json +708 -0
- data/spec/fixtures/v1/get-item-by-id.json +5 -0
- data/spec/fixtures/v1/get-item.json +982 -0
- data/spec/fixtures/v1/get-mastery-by-id.json +9 -0
- data/spec/fixtures/v1/get-mastery.json +1359 -0
- data/spec/fixtures/v1/get-realm.json +18 -0
- data/spec/fixtures/v1/get-rune-by-id.json +22 -0
- data/spec/fixtures/v1/get-rune.json +6465 -0
- data/spec/fixtures/v1/get-summoner-spell-by-id.json +64 -0
- data/spec/fixtures/v1/get-summoner-spell.json +657 -0
- data/spec/fixtures/v1.1/get-champion.json +1512 -1
- data/spec/fixtures/v1.2/get-ranked_stats.json +1448 -1
- data/spec/fixtures/v1.2/get-stats.json +115 -1
- data/spec/fixtures/v1.3/get-game.json +1040 -1
- data/spec/fixtures/v1.3/get-summoner-by-name.json +16 -1
- data/spec/fixtures/v1.3/get-summoner-masteries.json +2316 -1
- data/spec/fixtures/v1.3/get-summoner-name.json +4 -1
- data/spec/fixtures/v1.3/get-summoner-runes.json +6374 -1
- data/spec/fixtures/v1.3/get-summoner.json +16 -1
- data/spec/lol/client_spec.rb +12 -0
- data/spec/lol/request_spec.rb +0 -9
- data/spec/lol/static_request_spec.rb +93 -0
- metadata +27 -2
@@ -1 +1,115 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"summonerId": 30743211,
|
3
|
+
"playerStatSummaries": [
|
4
|
+
{
|
5
|
+
"playerStatSummaryType": "AramUnranked5x5",
|
6
|
+
"wins": 30,
|
7
|
+
"losses": 0,
|
8
|
+
"modifyDate": 1387546339000,
|
9
|
+
"aggregatedStats": {
|
10
|
+
"totalChampionKills": 493,
|
11
|
+
"totalTurretsKilled": 24,
|
12
|
+
"totalAssists": 1276
|
13
|
+
}
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"playerStatSummaryType": "CoopVsAI",
|
17
|
+
"wins": 91,
|
18
|
+
"losses": 0,
|
19
|
+
"modifyDate": 1336436617000,
|
20
|
+
"aggregatedStats": {
|
21
|
+
"totalChampionKills": 857,
|
22
|
+
"totalMinionKills": 10338,
|
23
|
+
"totalTurretsKilled": 168,
|
24
|
+
"totalNeutralMinionsKilled": 3596,
|
25
|
+
"totalAssists": 1243
|
26
|
+
}
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"playerStatSummaryType": "FirstBlood1x1",
|
30
|
+
"wins": 1,
|
31
|
+
"losses": 0,
|
32
|
+
"modifyDate": 1387759437000,
|
33
|
+
"aggregatedStats": {}
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"playerStatSummaryType": "OdinUnranked",
|
37
|
+
"wins": 3,
|
38
|
+
"losses": 0,
|
39
|
+
"modifyDate": 1387804671000,
|
40
|
+
"aggregatedStats": {
|
41
|
+
"totalChampionKills": 53,
|
42
|
+
"totalAssists": 47,
|
43
|
+
"maxChampionsKilled": 13,
|
44
|
+
"averageNodeCapture": 4,
|
45
|
+
"averageNodeNeutralize": 3,
|
46
|
+
"averageTeamObjective": 1,
|
47
|
+
"averageTotalPlayerScore": 929,
|
48
|
+
"averageCombatPlayerScore": 359,
|
49
|
+
"averageObjectivePlayerScore": 572,
|
50
|
+
"averageNodeCaptureAssist": 1,
|
51
|
+
"averageNodeNeutralizeAssist": 1,
|
52
|
+
"maxNodeCapture": 10,
|
53
|
+
"maxNodeNeutralize": 6,
|
54
|
+
"maxTeamObjective": 2,
|
55
|
+
"maxTotalPlayerScore": 1299,
|
56
|
+
"maxCombatPlayerScore": 718,
|
57
|
+
"maxObjectivePlayerScore": 898,
|
58
|
+
"maxNodeCaptureAssist": 2,
|
59
|
+
"maxNodeNeutralizeAssist": 3,
|
60
|
+
"totalNodeNeutralize": 26,
|
61
|
+
"totalNodeCapture": 36,
|
62
|
+
"averageChampionsKilled": 7,
|
63
|
+
"averageNumDeaths": 8,
|
64
|
+
"averageAssists": 6,
|
65
|
+
"maxAssists": 10
|
66
|
+
}
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"playerStatSummaryType": "OneForAll5x5",
|
70
|
+
"wins": 0,
|
71
|
+
"losses": 0,
|
72
|
+
"modifyDate": 1387811755000,
|
73
|
+
"aggregatedStats": {}
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"playerStatSummaryType": "RankedSolo5x5",
|
77
|
+
"wins": 314,
|
78
|
+
"losses": 315,
|
79
|
+
"modifyDate": 1387868584000,
|
80
|
+
"aggregatedStats": {
|
81
|
+
"totalChampionKills": 3024,
|
82
|
+
"totalMinionKills": 57858,
|
83
|
+
"totalTurretsKilled": 613,
|
84
|
+
"totalNeutralMinionsKilled": 28775,
|
85
|
+
"totalAssists": 5820
|
86
|
+
}
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"playerStatSummaryType": "Unranked",
|
90
|
+
"wins": 711,
|
91
|
+
"losses": 0,
|
92
|
+
"modifyDate": 1387811755000,
|
93
|
+
"aggregatedStats": {
|
94
|
+
"totalChampionKills": 6556,
|
95
|
+
"totalMinionKills": 110851,
|
96
|
+
"totalTurretsKilled": 1037,
|
97
|
+
"totalNeutralMinionsKilled": 59989,
|
98
|
+
"totalAssists": 12180
|
99
|
+
}
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"playerStatSummaryType": "Unranked3x3",
|
103
|
+
"wins": 5,
|
104
|
+
"losses": 0,
|
105
|
+
"modifyDate": 1387421137000,
|
106
|
+
"aggregatedStats": {
|
107
|
+
"totalChampionKills": 66,
|
108
|
+
"totalMinionKills": 1093,
|
109
|
+
"totalTurretsKilled": 3,
|
110
|
+
"totalNeutralMinionsKilled": 186,
|
111
|
+
"totalAssists": 59
|
112
|
+
}
|
113
|
+
}
|
114
|
+
]
|
115
|
+
}
|