bnet 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e68015b3edf68e5b0e6604338c5c3f7a665e9d08
4
- data.tar.gz: 49b2764fef76e44bb5a1e9d65a01bbd57f151654
3
+ metadata.gz: 193767f9d79f87bd7ade421a402c791e581dfd95
4
+ data.tar.gz: 01a7bd5c0cb34a113756e95177125e656a28e096
5
5
  SHA512:
6
- metadata.gz: 5feb146c409a0ac3c35facc15068e4fd77d12163778b705f7f188f029ba8620995d741816cb630bf01728ffbf47f828e8a58483445f7fbc0fdd5fabb0a71ab46
7
- data.tar.gz: 54c6e9389179fda9abca698b316ead5fb75e751c1aa06d7a0af40b3f017cedb4565c3c92f4cb6a7fa3bd321f66c5cddf9854d4810a389decfc670fde7ef403bd
6
+ metadata.gz: f6e77939f547eb0bb161443762a1f5bd42a8559da4a099ab7b0a214887649db357b3600f8285a88acffc84c373dc5eb4d40e3172c04caedd6f766b1984cbc098
7
+ data.tar.gz: 38ea0b3f3fa9f2d08f1cc761bfae440d144ddc39fbe46d7dbfac096d36aabc13efa506fcd6dd3852078ba0041e07554b7dc9bb53068799b7f63d09a6e8b7ccf6
data/README.md CHANGED
@@ -3,9 +3,9 @@ bnet-mashery-rb
3
3
 
4
4
  Ruby gem for accessing Blizzard's Mashery API
5
5
 
6
- This repository (will) contain various libraries for interfacing with Blizzard's Battle.net API [https://dev.battle.net](https://dev.battle.net).
6
+ This repository contains various libraries for interfacing with Blizzard's Battle.net API [https://dev.battle.net](https://dev.battle.net).
7
7
 
8
- This is a work in progress : [TODO-LIST](https://github.com/keikun17/bnet-mashery-rb/blob/master/TODO.md)
8
+ This is a work in progress: [TODO-LIST](https://github.com/keikun17/bnet-mashery-rb/blob/master/TODO.md)
9
9
 
10
10
  ### Installation
11
11
 
@@ -103,7 +103,7 @@ This is a work in progress : [TODO-LIST](https://github.com/keikun17/bnet-masher
103
103
  #
104
104
  # ...And the following associations
105
105
  #
106
- # :career, :matches, :ladders
106
+ # :career, :matches, :previous_ladder_season, current_ladder_season
107
107
  #
108
108
  # Example: If US account 'Playerone#1309' the profile can be accessible via
109
109
  # web from 'http://us.battle.net/sc2/en/profile/2143215/1/PlayerOne/'
data/TODO.md CHANGED
@@ -8,6 +8,7 @@
8
8
 
9
9
  - [x] Bnet::Diabo3::Career [x] doc
10
10
  - [x] Heroes (as `Hero`) [x] doc
11
+
11
12
  - [x] Bnet::Diabo3::Hero [x] doc
12
13
  - [x] Bnet::Diablo3::Skill
13
14
  - [x] Bnet::Diablo3::Item
@@ -24,9 +25,10 @@
24
25
 
25
26
  - [x] Bnet::Starcraft2::Profile [x] doc
26
27
  - [x] Bnet::Starcraft2::Matches [ ] doc
27
- - [ ] Bnet::Starcraft2::Ladder [ ] doc
28
+ - [x] Bnet::Starcraft2::Ladder [ ] doc
29
+ - [x] Bnet::Starcraft2::Character [ ] doc
28
30
  - [x] Bnet::Starcraft2::Career [ ] doc
29
- - [ ] Bnet::Starcraft2::Ladder [ ] doc
31
+
30
32
  - [ ] Bnet::Starcraft2::Data [ ] doc
31
33
  - [ ] Achievements [ ] doc
32
34
  - [ ] Rewards [ ] doc
@@ -50,17 +52,21 @@
50
52
  - [ ] Talents (as `Talent`) [ ] doc
51
53
  - [ ] Titles [ ] doc
52
54
  - [ ] Audit [ ] doc
55
+
53
56
  - [ ] Bnet::WOW::Item (as `Item`) [ ] doc
54
57
  - [ ] Set [ ] doc
58
+
55
59
  - [ ] Bnet::WOW::Guild [ ] doc
56
60
  - [ ] Members [ ] doc
57
61
  - [ ] Achievements (as `Achievement`) [ ] doc
58
62
  - [ ] News [ ] doc
59
63
  - [ ] Challenge [ ] doc
64
+
60
65
  - [ ] Bnet::WOW::PVP [ ] doc
61
66
  - [ ] Bnet::WOW::Quest (as `Quest`) [ ] doc
62
67
  - [ ] Bnet::WOW::Realm [ ] doc
63
68
  - [ ] Status [ ] doc
69
+
64
70
  - [ ] Bnet::WOW::Recipe [ ] doc
65
71
  - [ ] Bnet::WOW::Spell [ ] doc
66
72
  - [x] Bnet::WOW::Data [ ] doc
data/bnet.gemspec CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_development_dependency "rspec", "~> 3.1"
25
25
  spec.add_development_dependency "rspec-nc"
26
+ spec.add_development_dependency "rspec-collection_matchers"
26
27
  spec.add_development_dependency "guard"
27
28
  spec.add_development_dependency "guard-rspec"
28
29
  spec.add_development_dependency "pry"
@@ -0,0 +1,1031 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://us.api.battle.net/sc2/profile/2144359/1/JaBiTo/ladders?apikey=api_key_from_secrets_rb&locale=ko_KR
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Content-Language:
22
+ - en-US
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Date:
26
+ - Wed, 10 Sep 2014 15:42:26 GMT
27
+ Server:
28
+ - Apache
29
+ Vary:
30
+ - Accept-Encoding
31
+ X-Frame-Options:
32
+ - SAMEORIGIN
33
+ X-Mashery-Responder:
34
+ - prod-j-worker-us-east-1d-50.mashery.com
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Connection:
38
+ - keep-alive
39
+ body:
40
+ encoding: UTF-8
41
+ string: |-
42
+ {
43
+ "currentSeason" : [ {
44
+ "ladder" : [ {
45
+ "ladderName" : "Arbiter Epsilon",
46
+ "ladderId" : 175161,
47
+ "division" : 72,
48
+ "rank" : 47,
49
+ "league" : "DIAMOND",
50
+ "matchMakingQueue" : "HOTS_SOLO",
51
+ "wins" : 21,
52
+ "losses" : 7,
53
+ "showcase" : true
54
+ }, {
55
+ "ladderName" : "Defiler Quest",
56
+ "ladderId" : 174773,
57
+ "division" : 50,
58
+ "rank" : 84,
59
+ "league" : "GOLD",
60
+ "matchMakingQueue" : "HOTS_FOURS",
61
+ "wins" : 2,
62
+ "losses" : 1,
63
+ "showcase" : true
64
+ } ],
65
+ "characters" : [ {
66
+ "id" : 2144359,
67
+ "realm" : 1,
68
+ "displayName" : "JaBiTo",
69
+ "clanName" : "",
70
+ "clanTag" : "",
71
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
72
+ } ],
73
+ "nonRanked" : [ ]
74
+ }, {
75
+ "ladder" : [ {
76
+ "ladderName" : "Xerana Foxtrot",
77
+ "ladderId" : 174596,
78
+ "division" : 13,
79
+ "rank" : 38,
80
+ "league" : "PLATINUM",
81
+ "matchMakingQueue" : "HOTS_TWOS",
82
+ "wins" : 12,
83
+ "losses" : 8,
84
+ "showcase" : true
85
+ } ],
86
+ "characters" : [ {
87
+ "id" : 2144359,
88
+ "realm" : 1,
89
+ "displayName" : "JaBiTo",
90
+ "clanName" : "",
91
+ "clanTag" : "",
92
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
93
+ }, {
94
+ "id" : 2144909,
95
+ "realm" : 1,
96
+ "displayName" : "xXxmickey",
97
+ "clanName" : "P1NOY",
98
+ "clanTag" : "P1NOY",
99
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
100
+ } ],
101
+ "nonRanked" : [ ]
102
+ }, {
103
+ "ladder" : [ {
104
+ "ladderName" : "Mar Sara Zeta",
105
+ "ladderId" : 174195,
106
+ "division" : 3,
107
+ "rank" : 16,
108
+ "league" : "SILVER",
109
+ "matchMakingQueue" : "HOTS_FOURS",
110
+ "wins" : 6,
111
+ "losses" : 2,
112
+ "showcase" : false
113
+ } ],
114
+ "characters" : [ {
115
+ "id" : 705464,
116
+ "realm" : 1,
117
+ "displayName" : "Forlorn",
118
+ "clanName" : "P1NOY",
119
+ "clanTag" : "P1NOY",
120
+ "profilePath" : "/profile/705464/1/Forlorn/"
121
+ }, {
122
+ "id" : 2134489,
123
+ "realm" : 1,
124
+ "displayName" : "Zritex",
125
+ "clanName" : "",
126
+ "clanTag" : "",
127
+ "profilePath" : "/profile/2134489/1/Zritex/"
128
+ }, {
129
+ "id" : 2144359,
130
+ "realm" : 1,
131
+ "displayName" : "JaBiTo",
132
+ "clanName" : "",
133
+ "clanTag" : "",
134
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
135
+ }, {
136
+ "id" : 2144909,
137
+ "realm" : 1,
138
+ "displayName" : "xXxmickey",
139
+ "clanName" : "P1NOY",
140
+ "clanTag" : "P1NOY",
141
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
142
+ } ],
143
+ "nonRanked" : [ ]
144
+ }, {
145
+ "ladder" : [ {
146
+ "ladderName" : "Moria Mu",
147
+ "ladderId" : 174559,
148
+ "division" : 6,
149
+ "rank" : 82,
150
+ "league" : "SILVER",
151
+ "matchMakingQueue" : "HOTS_FOURS",
152
+ "wins" : 4,
153
+ "losses" : 1,
154
+ "showcase" : false
155
+ } ],
156
+ "characters" : [ {
157
+ "id" : 355060,
158
+ "realm" : 1,
159
+ "displayName" : "IIIIIIIIIIII",
160
+ "clanName" : "",
161
+ "clanTag" : "",
162
+ "profilePath" : "/profile/355060/1/IIIIIIIIIIII/"
163
+ }, {
164
+ "id" : 2144359,
165
+ "realm" : 1,
166
+ "displayName" : "JaBiTo",
167
+ "clanName" : "",
168
+ "clanTag" : "",
169
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
170
+ }, {
171
+ "id" : 2144909,
172
+ "realm" : 1,
173
+ "displayName" : "xXxmickey",
174
+ "clanName" : "P1NOY",
175
+ "clanTag" : "P1NOY",
176
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
177
+ }, {
178
+ "id" : 3157213,
179
+ "realm" : 1,
180
+ "displayName" : "lance",
181
+ "clanName" : "HailPhilippines",
182
+ "clanTag" : "Pinoys",
183
+ "profilePath" : "/profile/3157213/1/lance/"
184
+ } ],
185
+ "nonRanked" : [ ]
186
+ } ],
187
+ "previousSeason" : [ {
188
+ "ladder" : [ ],
189
+ "characters" : [ {
190
+ "id" : 2144359,
191
+ "realm" : 1,
192
+ "displayName" : "JaBiTo",
193
+ "clanName" : "",
194
+ "clanTag" : "",
195
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
196
+ }, {
197
+ "id" : 2144909,
198
+ "realm" : 1,
199
+ "displayName" : "xXxmickey",
200
+ "clanName" : "P1NOY",
201
+ "clanTag" : "P1NOY",
202
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
203
+ }, {
204
+ "id" : 2327985,
205
+ "realm" : 1,
206
+ "displayName" : "chewy",
207
+ "clanName" : "HailPhilippines",
208
+ "clanTag" : "Pinoys",
209
+ "profilePath" : "/profile/2327985/1/chewy/"
210
+ }, {
211
+ "id" : 3157213,
212
+ "realm" : 1,
213
+ "displayName" : "lance",
214
+ "clanName" : "HailPhilippines",
215
+ "clanTag" : "Pinoys",
216
+ "profilePath" : "/profile/3157213/1/lance/"
217
+ } ],
218
+ "nonRanked" : [ {
219
+ "mmq" : "HOTS_FOURS",
220
+ "gamesPlayed" : 3
221
+ } ]
222
+ }, {
223
+ "ladder" : [ ],
224
+ "characters" : [ {
225
+ "id" : 2068331,
226
+ "realm" : 1,
227
+ "displayName" : "SaiirupPC",
228
+ "clanName" : "xXxClan",
229
+ "clanTag" : "pinoy",
230
+ "profilePath" : "/profile/2068331/1/SaiirupPC/"
231
+ }, {
232
+ "id" : 2144359,
233
+ "realm" : 1,
234
+ "displayName" : "JaBiTo",
235
+ "clanName" : "",
236
+ "clanTag" : "",
237
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
238
+ }, {
239
+ "id" : 2144909,
240
+ "realm" : 1,
241
+ "displayName" : "xXxmickey",
242
+ "clanName" : "P1NOY",
243
+ "clanTag" : "P1NOY",
244
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
245
+ } ],
246
+ "nonRanked" : [ {
247
+ "mmq" : "HOTS_THREES",
248
+ "gamesPlayed" : 4
249
+ } ]
250
+ }, {
251
+ "ladder" : [ {
252
+ "ladderName" : "Thor Oscar",
253
+ "ladderId" : 171549,
254
+ "division" : 9,
255
+ "rank" : 31,
256
+ "league" : "SILVER",
257
+ "matchMakingQueue" : "HOTS_FOURS",
258
+ "wins" : 5,
259
+ "losses" : 2,
260
+ "showcase" : false
261
+ } ],
262
+ "characters" : [ {
263
+ "id" : 2068331,
264
+ "realm" : 1,
265
+ "displayName" : "SaiirupPC",
266
+ "clanName" : "xXxClan",
267
+ "clanTag" : "pinoy",
268
+ "profilePath" : "/profile/2068331/1/SaiirupPC/"
269
+ }, {
270
+ "id" : 2144359,
271
+ "realm" : 1,
272
+ "displayName" : "JaBiTo",
273
+ "clanName" : "",
274
+ "clanTag" : "",
275
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
276
+ }, {
277
+ "id" : 2144909,
278
+ "realm" : 1,
279
+ "displayName" : "xXxmickey",
280
+ "clanName" : "P1NOY",
281
+ "clanTag" : "P1NOY",
282
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
283
+ }, {
284
+ "id" : 2294156,
285
+ "realm" : 1,
286
+ "displayName" : "ImJamesBOND",
287
+ "clanName" : "MI6 007",
288
+ "clanTag" : "007MI6",
289
+ "profilePath" : "/profile/2294156/1/ImJamesBOND/"
290
+ } ],
291
+ "nonRanked" : [ ]
292
+ }, {
293
+ "ladder" : [ {
294
+ "ladderName" : "Aldaris Xi",
295
+ "ladderId" : 171262,
296
+ "division" : 2,
297
+ "rank" : 1,
298
+ "league" : "PLATINUM",
299
+ "matchMakingQueue" : "HOTS_FOURS",
300
+ "wins" : 14,
301
+ "losses" : 6,
302
+ "showcase" : false
303
+ } ],
304
+ "characters" : [ {
305
+ "id" : 2144359,
306
+ "realm" : 1,
307
+ "displayName" : "JaBiTo",
308
+ "clanName" : "",
309
+ "clanTag" : "",
310
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
311
+ }, {
312
+ "id" : 2144909,
313
+ "realm" : 1,
314
+ "displayName" : "xXxmickey",
315
+ "clanName" : "P1NOY",
316
+ "clanTag" : "P1NOY",
317
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
318
+ }, {
319
+ "id" : 3157213,
320
+ "realm" : 1,
321
+ "displayName" : "lance",
322
+ "clanName" : "HailPhilippines",
323
+ "clanTag" : "Pinoys",
324
+ "profilePath" : "/profile/3157213/1/lance/"
325
+ }, {
326
+ "id" : 3157914,
327
+ "realm" : 1,
328
+ "displayName" : "SUPERDENNIS",
329
+ "clanName" : "HailPhilippines",
330
+ "clanTag" : "Pinoys",
331
+ "profilePath" : "/profile/3157914/1/SUPERDENNIS/"
332
+ } ],
333
+ "nonRanked" : [ ]
334
+ }, {
335
+ "ladder" : [ ],
336
+ "characters" : [ {
337
+ "id" : 2144359,
338
+ "realm" : 1,
339
+ "displayName" : "JaBiTo",
340
+ "clanName" : "",
341
+ "clanTag" : "",
342
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
343
+ }, {
344
+ "id" : 2144909,
345
+ "realm" : 1,
346
+ "displayName" : "xXxmickey",
347
+ "clanName" : "P1NOY",
348
+ "clanTag" : "P1NOY",
349
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
350
+ }, {
351
+ "id" : 2327985,
352
+ "realm" : 1,
353
+ "displayName" : "chewy",
354
+ "clanName" : "HailPhilippines",
355
+ "clanTag" : "Pinoys",
356
+ "profilePath" : "/profile/2327985/1/chewy/"
357
+ }, {
358
+ "id" : 3158601,
359
+ "realm" : 1,
360
+ "displayName" : "TotoyBato",
361
+ "clanName" : "xXxClan",
362
+ "clanTag" : "pinoy",
363
+ "profilePath" : "/profile/3158601/1/TotoyBato/"
364
+ } ],
365
+ "nonRanked" : [ {
366
+ "mmq" : "HOTS_FOURS",
367
+ "gamesPlayed" : 1
368
+ } ]
369
+ }, {
370
+ "ladder" : [ {
371
+ "ladderName" : "Ramsey Gamma",
372
+ "ladderId" : 171676,
373
+ "division" : 72,
374
+ "rank" : 59,
375
+ "league" : "DIAMOND",
376
+ "matchMakingQueue" : "HOTS_SOLO",
377
+ "wins" : 20,
378
+ "losses" : 7,
379
+ "showcase" : false
380
+ }, {
381
+ "ladderName" : "Overlord Alamo",
382
+ "ladderId" : 171916,
383
+ "division" : 16,
384
+ "rank" : 42,
385
+ "league" : "PLATINUM",
386
+ "matchMakingQueue" : "HOTS_FOURS",
387
+ "wins" : 14,
388
+ "losses" : 1,
389
+ "showcase" : false
390
+ } ],
391
+ "characters" : [ {
392
+ "id" : 2144359,
393
+ "realm" : 1,
394
+ "displayName" : "JaBiTo",
395
+ "clanName" : "",
396
+ "clanTag" : "",
397
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
398
+ } ],
399
+ "nonRanked" : [ ]
400
+ }, {
401
+ "ladder" : [ {
402
+ "ladderName" : "Braken Foxtrot",
403
+ "ladderId" : 172318,
404
+ "division" : 9,
405
+ "rank" : 58,
406
+ "league" : "DIAMOND",
407
+ "matchMakingQueue" : "HOTS_TWOS",
408
+ "wins" : 15,
409
+ "losses" : 11,
410
+ "showcase" : false
411
+ } ],
412
+ "characters" : [ {
413
+ "id" : 2144359,
414
+ "realm" : 1,
415
+ "displayName" : "JaBiTo",
416
+ "clanName" : "",
417
+ "clanTag" : "",
418
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
419
+ }, {
420
+ "id" : 2144909,
421
+ "realm" : 1,
422
+ "displayName" : "xXxmickey",
423
+ "clanName" : "P1NOY",
424
+ "clanTag" : "P1NOY",
425
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
426
+ } ],
427
+ "nonRanked" : [ ]
428
+ }, {
429
+ "ladder" : [ {
430
+ "ladderName" : "Tosh Alpha",
431
+ "ladderId" : 171238,
432
+ "division" : 7,
433
+ "rank" : 65,
434
+ "league" : "SILVER",
435
+ "matchMakingQueue" : "HOTS_FOURS",
436
+ "wins" : 4,
437
+ "losses" : 1,
438
+ "showcase" : false
439
+ } ],
440
+ "characters" : [ {
441
+ "id" : 1237386,
442
+ "realm" : 1,
443
+ "displayName" : "XEVIOUS",
444
+ "clanName" : "HailPhilippines",
445
+ "clanTag" : "Pinoys",
446
+ "profilePath" : "/profile/1237386/1/XEVIOUS/"
447
+ }, {
448
+ "id" : 2144359,
449
+ "realm" : 1,
450
+ "displayName" : "JaBiTo",
451
+ "clanName" : "",
452
+ "clanTag" : "",
453
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
454
+ }, {
455
+ "id" : 2144909,
456
+ "realm" : 1,
457
+ "displayName" : "xXxmickey",
458
+ "clanName" : "P1NOY",
459
+ "clanTag" : "P1NOY",
460
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
461
+ }, {
462
+ "id" : 3139620,
463
+ "realm" : 1,
464
+ "displayName" : "mhptozz",
465
+ "clanName" : "P1NOY",
466
+ "clanTag" : "P1NOY",
467
+ "profilePath" : "/profile/3139620/1/mhptozz/"
468
+ } ],
469
+ "nonRanked" : [ ]
470
+ }, {
471
+ "ladder" : [ {
472
+ "ladderName" : "Hierarch Dixie",
473
+ "ladderId" : 172091,
474
+ "division" : 5,
475
+ "rank" : 54,
476
+ "league" : "GOLD",
477
+ "matchMakingQueue" : "HOTS_FOURS",
478
+ "wins" : 4,
479
+ "losses" : 1,
480
+ "showcase" : false
481
+ } ],
482
+ "characters" : [ {
483
+ "id" : 355060,
484
+ "realm" : 1,
485
+ "displayName" : "IIIIIIIIIIII",
486
+ "clanName" : "",
487
+ "clanTag" : "",
488
+ "profilePath" : "/profile/355060/1/IIIIIIIIIIII/"
489
+ }, {
490
+ "id" : 2144359,
491
+ "realm" : 1,
492
+ "displayName" : "JaBiTo",
493
+ "clanName" : "",
494
+ "clanTag" : "",
495
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
496
+ }, {
497
+ "id" : 2144909,
498
+ "realm" : 1,
499
+ "displayName" : "xXxmickey",
500
+ "clanName" : "P1NOY",
501
+ "clanTag" : "P1NOY",
502
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
503
+ }, {
504
+ "id" : 3139620,
505
+ "realm" : 1,
506
+ "displayName" : "mhptozz",
507
+ "clanName" : "P1NOY",
508
+ "clanTag" : "P1NOY",
509
+ "profilePath" : "/profile/3139620/1/mhptozz/"
510
+ } ],
511
+ "nonRanked" : [ ]
512
+ } ],
513
+ "showcasePlacement" : [ ]
514
+ }
515
+ http_version:
516
+ recorded_at: Wed, 10 Sep 2014 15:42:27 GMT
517
+ - request:
518
+ method: get
519
+ uri: https://us.api.battle.net/sc2/profile/2144359/1/JaBiTo/ladders?apikey=api_key_from_secrets_rb&locale=en_US
520
+ body:
521
+ encoding: US-ASCII
522
+ string: ''
523
+ headers:
524
+ Accept-Encoding:
525
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
526
+ Accept:
527
+ - '*/*'
528
+ User-Agent:
529
+ - Ruby
530
+ response:
531
+ status:
532
+ code: 200
533
+ message: OK
534
+ headers:
535
+ Content-Language:
536
+ - en-US
537
+ Content-Type:
538
+ - application/json;charset=UTF-8
539
+ Date:
540
+ - Wed, 10 Sep 2014 15:42:28 GMT
541
+ Server:
542
+ - Apache
543
+ Vary:
544
+ - Accept-Encoding
545
+ X-Frame-Options:
546
+ - SAMEORIGIN
547
+ X-Mashery-Responder:
548
+ - prod-j-worker-us-east-1e-46.mashery.com
549
+ Content-Length:
550
+ - '1184'
551
+ Connection:
552
+ - keep-alive
553
+ body:
554
+ encoding: UTF-8
555
+ string: |-
556
+ {
557
+ "currentSeason" : [ {
558
+ "ladder" : [ {
559
+ "ladderName" : "Arbiter Epsilon",
560
+ "ladderId" : 175161,
561
+ "division" : 72,
562
+ "rank" : 47,
563
+ "league" : "DIAMOND",
564
+ "matchMakingQueue" : "HOTS_SOLO",
565
+ "wins" : 21,
566
+ "losses" : 7,
567
+ "showcase" : true
568
+ }, {
569
+ "ladderName" : "Defiler Quest",
570
+ "ladderId" : 174773,
571
+ "division" : 50,
572
+ "rank" : 84,
573
+ "league" : "GOLD",
574
+ "matchMakingQueue" : "HOTS_FOURS",
575
+ "wins" : 2,
576
+ "losses" : 1,
577
+ "showcase" : true
578
+ } ],
579
+ "characters" : [ {
580
+ "id" : 2144359,
581
+ "realm" : 1,
582
+ "displayName" : "JaBiTo",
583
+ "clanName" : "",
584
+ "clanTag" : "",
585
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
586
+ } ],
587
+ "nonRanked" : [ ]
588
+ }, {
589
+ "ladder" : [ {
590
+ "ladderName" : "Xerana Foxtrot",
591
+ "ladderId" : 174596,
592
+ "division" : 13,
593
+ "rank" : 38,
594
+ "league" : "PLATINUM",
595
+ "matchMakingQueue" : "HOTS_TWOS",
596
+ "wins" : 12,
597
+ "losses" : 8,
598
+ "showcase" : true
599
+ } ],
600
+ "characters" : [ {
601
+ "id" : 2144359,
602
+ "realm" : 1,
603
+ "displayName" : "JaBiTo",
604
+ "clanName" : "",
605
+ "clanTag" : "",
606
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
607
+ }, {
608
+ "id" : 2144909,
609
+ "realm" : 1,
610
+ "displayName" : "xXxmickey",
611
+ "clanName" : "P1NOY",
612
+ "clanTag" : "P1NOY",
613
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
614
+ } ],
615
+ "nonRanked" : [ ]
616
+ }, {
617
+ "ladder" : [ {
618
+ "ladderName" : "Mar Sara Zeta",
619
+ "ladderId" : 174195,
620
+ "division" : 3,
621
+ "rank" : 16,
622
+ "league" : "SILVER",
623
+ "matchMakingQueue" : "HOTS_FOURS",
624
+ "wins" : 6,
625
+ "losses" : 2,
626
+ "showcase" : false
627
+ } ],
628
+ "characters" : [ {
629
+ "id" : 705464,
630
+ "realm" : 1,
631
+ "displayName" : "Forlorn",
632
+ "clanName" : "P1NOY",
633
+ "clanTag" : "P1NOY",
634
+ "profilePath" : "/profile/705464/1/Forlorn/"
635
+ }, {
636
+ "id" : 2134489,
637
+ "realm" : 1,
638
+ "displayName" : "Zritex",
639
+ "clanName" : "",
640
+ "clanTag" : "",
641
+ "profilePath" : "/profile/2134489/1/Zritex/"
642
+ }, {
643
+ "id" : 2144359,
644
+ "realm" : 1,
645
+ "displayName" : "JaBiTo",
646
+ "clanName" : "",
647
+ "clanTag" : "",
648
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
649
+ }, {
650
+ "id" : 2144909,
651
+ "realm" : 1,
652
+ "displayName" : "xXxmickey",
653
+ "clanName" : "P1NOY",
654
+ "clanTag" : "P1NOY",
655
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
656
+ } ],
657
+ "nonRanked" : [ ]
658
+ }, {
659
+ "ladder" : [ {
660
+ "ladderName" : "Moria Mu",
661
+ "ladderId" : 174559,
662
+ "division" : 6,
663
+ "rank" : 82,
664
+ "league" : "SILVER",
665
+ "matchMakingQueue" : "HOTS_FOURS",
666
+ "wins" : 4,
667
+ "losses" : 1,
668
+ "showcase" : false
669
+ } ],
670
+ "characters" : [ {
671
+ "id" : 355060,
672
+ "realm" : 1,
673
+ "displayName" : "IIIIIIIIIIII",
674
+ "clanName" : "",
675
+ "clanTag" : "",
676
+ "profilePath" : "/profile/355060/1/IIIIIIIIIIII/"
677
+ }, {
678
+ "id" : 2144359,
679
+ "realm" : 1,
680
+ "displayName" : "JaBiTo",
681
+ "clanName" : "",
682
+ "clanTag" : "",
683
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
684
+ }, {
685
+ "id" : 2144909,
686
+ "realm" : 1,
687
+ "displayName" : "xXxmickey",
688
+ "clanName" : "P1NOY",
689
+ "clanTag" : "P1NOY",
690
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
691
+ }, {
692
+ "id" : 3157213,
693
+ "realm" : 1,
694
+ "displayName" : "lance",
695
+ "clanName" : "HailPhilippines",
696
+ "clanTag" : "Pinoys",
697
+ "profilePath" : "/profile/3157213/1/lance/"
698
+ } ],
699
+ "nonRanked" : [ ]
700
+ } ],
701
+ "previousSeason" : [ {
702
+ "ladder" : [ ],
703
+ "characters" : [ {
704
+ "id" : 2144359,
705
+ "realm" : 1,
706
+ "displayName" : "JaBiTo",
707
+ "clanName" : "",
708
+ "clanTag" : "",
709
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
710
+ }, {
711
+ "id" : 2144909,
712
+ "realm" : 1,
713
+ "displayName" : "xXxmickey",
714
+ "clanName" : "P1NOY",
715
+ "clanTag" : "P1NOY",
716
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
717
+ }, {
718
+ "id" : 2327985,
719
+ "realm" : 1,
720
+ "displayName" : "chewy",
721
+ "clanName" : "HailPhilippines",
722
+ "clanTag" : "Pinoys",
723
+ "profilePath" : "/profile/2327985/1/chewy/"
724
+ }, {
725
+ "id" : 3157213,
726
+ "realm" : 1,
727
+ "displayName" : "lance",
728
+ "clanName" : "HailPhilippines",
729
+ "clanTag" : "Pinoys",
730
+ "profilePath" : "/profile/3157213/1/lance/"
731
+ } ],
732
+ "nonRanked" : [ {
733
+ "mmq" : "HOTS_FOURS",
734
+ "gamesPlayed" : 3
735
+ } ]
736
+ }, {
737
+ "ladder" : [ ],
738
+ "characters" : [ {
739
+ "id" : 2068331,
740
+ "realm" : 1,
741
+ "displayName" : "SaiirupPC",
742
+ "clanName" : "xXxClan",
743
+ "clanTag" : "pinoy",
744
+ "profilePath" : "/profile/2068331/1/SaiirupPC/"
745
+ }, {
746
+ "id" : 2144359,
747
+ "realm" : 1,
748
+ "displayName" : "JaBiTo",
749
+ "clanName" : "",
750
+ "clanTag" : "",
751
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
752
+ }, {
753
+ "id" : 2144909,
754
+ "realm" : 1,
755
+ "displayName" : "xXxmickey",
756
+ "clanName" : "P1NOY",
757
+ "clanTag" : "P1NOY",
758
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
759
+ } ],
760
+ "nonRanked" : [ {
761
+ "mmq" : "HOTS_THREES",
762
+ "gamesPlayed" : 4
763
+ } ]
764
+ }, {
765
+ "ladder" : [ {
766
+ "ladderName" : "Thor Oscar",
767
+ "ladderId" : 171549,
768
+ "division" : 9,
769
+ "rank" : 31,
770
+ "league" : "SILVER",
771
+ "matchMakingQueue" : "HOTS_FOURS",
772
+ "wins" : 5,
773
+ "losses" : 2,
774
+ "showcase" : false
775
+ } ],
776
+ "characters" : [ {
777
+ "id" : 2068331,
778
+ "realm" : 1,
779
+ "displayName" : "SaiirupPC",
780
+ "clanName" : "xXxClan",
781
+ "clanTag" : "pinoy",
782
+ "profilePath" : "/profile/2068331/1/SaiirupPC/"
783
+ }, {
784
+ "id" : 2144359,
785
+ "realm" : 1,
786
+ "displayName" : "JaBiTo",
787
+ "clanName" : "",
788
+ "clanTag" : "",
789
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
790
+ }, {
791
+ "id" : 2144909,
792
+ "realm" : 1,
793
+ "displayName" : "xXxmickey",
794
+ "clanName" : "P1NOY",
795
+ "clanTag" : "P1NOY",
796
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
797
+ }, {
798
+ "id" : 2294156,
799
+ "realm" : 1,
800
+ "displayName" : "ImJamesBOND",
801
+ "clanName" : "MI6 007",
802
+ "clanTag" : "007MI6",
803
+ "profilePath" : "/profile/2294156/1/ImJamesBOND/"
804
+ } ],
805
+ "nonRanked" : [ ]
806
+ }, {
807
+ "ladder" : [ {
808
+ "ladderName" : "Aldaris Xi",
809
+ "ladderId" : 171262,
810
+ "division" : 2,
811
+ "rank" : 1,
812
+ "league" : "PLATINUM",
813
+ "matchMakingQueue" : "HOTS_FOURS",
814
+ "wins" : 14,
815
+ "losses" : 6,
816
+ "showcase" : false
817
+ } ],
818
+ "characters" : [ {
819
+ "id" : 2144359,
820
+ "realm" : 1,
821
+ "displayName" : "JaBiTo",
822
+ "clanName" : "",
823
+ "clanTag" : "",
824
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
825
+ }, {
826
+ "id" : 2144909,
827
+ "realm" : 1,
828
+ "displayName" : "xXxmickey",
829
+ "clanName" : "P1NOY",
830
+ "clanTag" : "P1NOY",
831
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
832
+ }, {
833
+ "id" : 3157213,
834
+ "realm" : 1,
835
+ "displayName" : "lance",
836
+ "clanName" : "HailPhilippines",
837
+ "clanTag" : "Pinoys",
838
+ "profilePath" : "/profile/3157213/1/lance/"
839
+ }, {
840
+ "id" : 3157914,
841
+ "realm" : 1,
842
+ "displayName" : "SUPERDENNIS",
843
+ "clanName" : "HailPhilippines",
844
+ "clanTag" : "Pinoys",
845
+ "profilePath" : "/profile/3157914/1/SUPERDENNIS/"
846
+ } ],
847
+ "nonRanked" : [ ]
848
+ }, {
849
+ "ladder" : [ ],
850
+ "characters" : [ {
851
+ "id" : 2144359,
852
+ "realm" : 1,
853
+ "displayName" : "JaBiTo",
854
+ "clanName" : "",
855
+ "clanTag" : "",
856
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
857
+ }, {
858
+ "id" : 2144909,
859
+ "realm" : 1,
860
+ "displayName" : "xXxmickey",
861
+ "clanName" : "P1NOY",
862
+ "clanTag" : "P1NOY",
863
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
864
+ }, {
865
+ "id" : 2327985,
866
+ "realm" : 1,
867
+ "displayName" : "chewy",
868
+ "clanName" : "HailPhilippines",
869
+ "clanTag" : "Pinoys",
870
+ "profilePath" : "/profile/2327985/1/chewy/"
871
+ }, {
872
+ "id" : 3158601,
873
+ "realm" : 1,
874
+ "displayName" : "TotoyBato",
875
+ "clanName" : "xXxClan",
876
+ "clanTag" : "pinoy",
877
+ "profilePath" : "/profile/3158601/1/TotoyBato/"
878
+ } ],
879
+ "nonRanked" : [ {
880
+ "mmq" : "HOTS_FOURS",
881
+ "gamesPlayed" : 1
882
+ } ]
883
+ }, {
884
+ "ladder" : [ {
885
+ "ladderName" : "Ramsey Gamma",
886
+ "ladderId" : 171676,
887
+ "division" : 72,
888
+ "rank" : 59,
889
+ "league" : "DIAMOND",
890
+ "matchMakingQueue" : "HOTS_SOLO",
891
+ "wins" : 20,
892
+ "losses" : 7,
893
+ "showcase" : false
894
+ }, {
895
+ "ladderName" : "Overlord Alamo",
896
+ "ladderId" : 171916,
897
+ "division" : 16,
898
+ "rank" : 42,
899
+ "league" : "PLATINUM",
900
+ "matchMakingQueue" : "HOTS_FOURS",
901
+ "wins" : 14,
902
+ "losses" : 1,
903
+ "showcase" : false
904
+ } ],
905
+ "characters" : [ {
906
+ "id" : 2144359,
907
+ "realm" : 1,
908
+ "displayName" : "JaBiTo",
909
+ "clanName" : "",
910
+ "clanTag" : "",
911
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
912
+ } ],
913
+ "nonRanked" : [ ]
914
+ }, {
915
+ "ladder" : [ {
916
+ "ladderName" : "Braken Foxtrot",
917
+ "ladderId" : 172318,
918
+ "division" : 9,
919
+ "rank" : 58,
920
+ "league" : "DIAMOND",
921
+ "matchMakingQueue" : "HOTS_TWOS",
922
+ "wins" : 15,
923
+ "losses" : 11,
924
+ "showcase" : false
925
+ } ],
926
+ "characters" : [ {
927
+ "id" : 2144359,
928
+ "realm" : 1,
929
+ "displayName" : "JaBiTo",
930
+ "clanName" : "",
931
+ "clanTag" : "",
932
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
933
+ }, {
934
+ "id" : 2144909,
935
+ "realm" : 1,
936
+ "displayName" : "xXxmickey",
937
+ "clanName" : "P1NOY",
938
+ "clanTag" : "P1NOY",
939
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
940
+ } ],
941
+ "nonRanked" : [ ]
942
+ }, {
943
+ "ladder" : [ {
944
+ "ladderName" : "Tosh Alpha",
945
+ "ladderId" : 171238,
946
+ "division" : 7,
947
+ "rank" : 65,
948
+ "league" : "SILVER",
949
+ "matchMakingQueue" : "HOTS_FOURS",
950
+ "wins" : 4,
951
+ "losses" : 1,
952
+ "showcase" : false
953
+ } ],
954
+ "characters" : [ {
955
+ "id" : 1237386,
956
+ "realm" : 1,
957
+ "displayName" : "XEVIOUS",
958
+ "clanName" : "HailPhilippines",
959
+ "clanTag" : "Pinoys",
960
+ "profilePath" : "/profile/1237386/1/XEVIOUS/"
961
+ }, {
962
+ "id" : 2144359,
963
+ "realm" : 1,
964
+ "displayName" : "JaBiTo",
965
+ "clanName" : "",
966
+ "clanTag" : "",
967
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
968
+ }, {
969
+ "id" : 2144909,
970
+ "realm" : 1,
971
+ "displayName" : "xXxmickey",
972
+ "clanName" : "P1NOY",
973
+ "clanTag" : "P1NOY",
974
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
975
+ }, {
976
+ "id" : 3139620,
977
+ "realm" : 1,
978
+ "displayName" : "mhptozz",
979
+ "clanName" : "P1NOY",
980
+ "clanTag" : "P1NOY",
981
+ "profilePath" : "/profile/3139620/1/mhptozz/"
982
+ } ],
983
+ "nonRanked" : [ ]
984
+ }, {
985
+ "ladder" : [ {
986
+ "ladderName" : "Hierarch Dixie",
987
+ "ladderId" : 172091,
988
+ "division" : 5,
989
+ "rank" : 54,
990
+ "league" : "GOLD",
991
+ "matchMakingQueue" : "HOTS_FOURS",
992
+ "wins" : 4,
993
+ "losses" : 1,
994
+ "showcase" : false
995
+ } ],
996
+ "characters" : [ {
997
+ "id" : 355060,
998
+ "realm" : 1,
999
+ "displayName" : "IIIIIIIIIIII",
1000
+ "clanName" : "",
1001
+ "clanTag" : "",
1002
+ "profilePath" : "/profile/355060/1/IIIIIIIIIIII/"
1003
+ }, {
1004
+ "id" : 2144359,
1005
+ "realm" : 1,
1006
+ "displayName" : "JaBiTo",
1007
+ "clanName" : "",
1008
+ "clanTag" : "",
1009
+ "profilePath" : "/profile/2144359/1/JaBiTo/"
1010
+ }, {
1011
+ "id" : 2144909,
1012
+ "realm" : 1,
1013
+ "displayName" : "xXxmickey",
1014
+ "clanName" : "P1NOY",
1015
+ "clanTag" : "P1NOY",
1016
+ "profilePath" : "/profile/2144909/1/xXxmickey/"
1017
+ }, {
1018
+ "id" : 3139620,
1019
+ "realm" : 1,
1020
+ "displayName" : "mhptozz",
1021
+ "clanName" : "P1NOY",
1022
+ "clanTag" : "P1NOY",
1023
+ "profilePath" : "/profile/3139620/1/mhptozz/"
1024
+ } ],
1025
+ "nonRanked" : [ ]
1026
+ } ],
1027
+ "showcasePlacement" : [ ]
1028
+ }
1029
+ http_version:
1030
+ recorded_at: Wed, 10 Sep 2014 15:42:30 GMT
1031
+ recorded_with: VCR 2.9.2