diablo3_api 0.0.1

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.
@@ -0,0 +1,717 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://us.battle.net/api/d3/profile/Dpsk-2824
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 404
13
+ message: Not Found
14
+ headers:
15
+ Date:
16
+ - Thu, 22 Aug 2013 14:41:02 GMT
17
+ Server:
18
+ - Apache
19
+ X-Frame-Options:
20
+ - SAMEORIGIN
21
+ Content-Length:
22
+ - '949'
23
+ Vary:
24
+ - Accept-Encoding
25
+ Content-Type:
26
+ - text/html;charset=utf-8
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ! '<html><head><title>Apache Tomcat/7.0.34 - Error report</title><style><!--H1
30
+ {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
31
+ H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
32
+ H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
33
+ BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
34
+ B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
35
+ P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
36
+ {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP
37
+ Status 404 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
38
+ <u></u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR
39
+ size="1" noshade="noshade"><h3>Apache Tomcat/7.0.34</h3></body></html>'
40
+ http_version:
41
+ recorded_at: Thu, 22 Aug 2013 14:41:02 GMT
42
+ - request:
43
+ method: get
44
+ uri: http://us.battle.net/api/d3/profile/Dpsk-2824/
45
+ body:
46
+ encoding: US-ASCII
47
+ string: ''
48
+ headers: {}
49
+ response:
50
+ status:
51
+ code: 200
52
+ message: OK
53
+ headers:
54
+ Date:
55
+ - Thu, 22 Aug 2013 14:45:15 GMT
56
+ Server:
57
+ - Apache
58
+ X-Frame-Options:
59
+ - SAMEORIGIN
60
+ Content-Language:
61
+ - en-US
62
+ Vary:
63
+ - Accept-Encoding
64
+ Transfer-Encoding:
65
+ - chunked
66
+ Content-Type:
67
+ - application/json;charset=UTF-8
68
+ body:
69
+ encoding: US-ASCII
70
+ string: ! '{
71
+
72
+ "heroes" : [ {
73
+
74
+ "name" : "Vas",
75
+
76
+ "id" : 32351570,
77
+
78
+ "level" : 37,
79
+
80
+ "hardcore" : false,
81
+
82
+ "paragonLevel" : 0,
83
+
84
+ "gender" : 1,
85
+
86
+ "dead" : false,
87
+
88
+ "class" : "wizard",
89
+
90
+ "last-updated" : 1365105795
91
+
92
+ }, {
93
+
94
+ "name" : "Iaw",
95
+
96
+ "id" : 32576165,
97
+
98
+ "level" : 6,
99
+
100
+ "hardcore" : false,
101
+
102
+ "paragonLevel" : 0,
103
+
104
+ "gender" : 1,
105
+
106
+ "dead" : false,
107
+
108
+ "class" : "demon-hunter",
109
+
110
+ "last-updated" : 1365102110
111
+
112
+ } ],
113
+
114
+ "lastHeroPlayed" : 32351570,
115
+
116
+ "lastUpdated" : 1365105795,
117
+
118
+ "artisans" : [ {
119
+
120
+ "slug" : "blacksmith",
121
+
122
+ "level" : 6,
123
+
124
+ "stepCurrent" : 4,
125
+
126
+ "stepMax" : 5
127
+
128
+ }, {
129
+
130
+ "slug" : "jeweler",
131
+
132
+ "level" : 3,
133
+
134
+ "stepCurrent" : 0,
135
+
136
+ "stepMax" : 1
137
+
138
+ } ],
139
+
140
+ "hardcoreArtisans" : [ {
141
+
142
+ "slug" : "blacksmith",
143
+
144
+ "level" : 0,
145
+
146
+ "stepCurrent" : -1,
147
+
148
+ "stepMax" : 5
149
+
150
+ }, {
151
+
152
+ "slug" : "jeweler",
153
+
154
+ "level" : 0,
155
+
156
+ "stepCurrent" : 0,
157
+
158
+ "stepMax" : 1
159
+
160
+ } ],
161
+
162
+ "kills" : {
163
+
164
+ "monsters" : 16695,
165
+
166
+ "elites" : 629,
167
+
168
+ "hardcoreMonsters" : 0
169
+
170
+ },
171
+
172
+ "timePlayed" : {
173
+
174
+ "barbarian" : 0.0,
175
+
176
+ "demon-hunter" : 0.029,
177
+
178
+ "monk" : 0.0,
179
+
180
+ "witch-doctor" : 0.0,
181
+
182
+ "wizard" : 1.0
183
+
184
+ },
185
+
186
+ "fallenHeroes" : [ ],
187
+
188
+ "battleTag" : "dpsk#2824",
189
+
190
+ "progression" : {
191
+
192
+ "normal" : {
193
+
194
+ "act1" : {
195
+
196
+ "completed" : true,
197
+
198
+ "completedQuests" : [ {
199
+
200
+ "slug" : "the-fallen-star",
201
+
202
+ "name" : "The Fallen Star"
203
+
204
+ }, {
205
+
206
+ "slug" : "the-legacy-of-cain",
207
+
208
+ "name" : "The Legacy of Cain"
209
+
210
+ }, {
211
+
212
+ "slug" : "a-shattered-crown",
213
+
214
+ "name" : "A Shattered Crown"
215
+
216
+ }, {
217
+
218
+ "slug" : "reign-of-the-black-king",
219
+
220
+ "name" : "Reign of the Black King"
221
+
222
+ }, {
223
+
224
+ "slug" : "sword-of-the-stranger",
225
+
226
+ "name" : "Sword of the Stranger"
227
+
228
+ }, {
229
+
230
+ "slug" : "the-broken-blade",
231
+
232
+ "name" : "The Broken Blade"
233
+
234
+ }, {
235
+
236
+ "slug" : "the-doom-in-wortham",
237
+
238
+ "name" : "The Doom in Wortham"
239
+
240
+ }, {
241
+
242
+ "slug" : "trailing-the-coven",
243
+
244
+ "name" : "Trailing the Coven"
245
+
246
+ }, {
247
+
248
+ "slug" : "the-imprisoned-angel",
249
+
250
+ "name" : "The Imprisoned Angel"
251
+
252
+ }, {
253
+
254
+ "slug" : "return-to-new-tristram",
255
+
256
+ "name" : "Return to New Tristram"
257
+
258
+ } ]
259
+
260
+ },
261
+
262
+ "act2" : {
263
+
264
+ "completed" : true,
265
+
266
+ "completedQuests" : [ {
267
+
268
+ "slug" : "shadows-in-the-desert",
269
+
270
+ "name" : "Shadows in the Desert"
271
+
272
+ }, {
273
+
274
+ "slug" : "the-road-to-alcarnus",
275
+
276
+ "name" : "The Road to Alcarnus"
277
+
278
+ }, {
279
+
280
+ "slug" : "city-of-blood",
281
+
282
+ "name" : "City of Blood"
283
+
284
+ }, {
285
+
286
+ "slug" : "a-royal-audience",
287
+
288
+ "name" : "A Royal Audience"
289
+
290
+ }, {
291
+
292
+ "slug" : "unexpected-allies",
293
+
294
+ "name" : "Unexpected Allies"
295
+
296
+ }, {
297
+
298
+ "slug" : "betrayer-of-the-horadrim",
299
+
300
+ "name" : "Betrayer of the Horadrim"
301
+
302
+ }, {
303
+
304
+ "slug" : "blood-and-sand",
305
+
306
+ "name" : "Blood and Sand"
307
+
308
+ }, {
309
+
310
+ "slug" : "the-black-soulstone",
311
+
312
+ "name" : "The Black Soulstone"
313
+
314
+ }, {
315
+
316
+ "slug" : "the-scouring-of-caldeum",
317
+
318
+ "name" : "The Scouring of Caldeum"
319
+
320
+ }, {
321
+
322
+ "slug" : "lord-of-lies",
323
+
324
+ "name" : "Lord of Lies"
325
+
326
+ } ]
327
+
328
+ },
329
+
330
+ "act3" : {
331
+
332
+ "completed" : true,
333
+
334
+ "completedQuests" : [ {
335
+
336
+ "slug" : "the-siege-of-bastions-keep",
337
+
338
+ "name" : "The Siege of Bastion''s Keep"
339
+
340
+ }, {
341
+
342
+ "slug" : "turning-the-tide",
343
+
344
+ "name" : "Turning the Tide"
345
+
346
+ }, {
347
+
348
+ "slug" : "the-breached-keep",
349
+
350
+ "name" : "The Breached Keep"
351
+
352
+ }, {
353
+
354
+ "slug" : "tremors-in-the-stone",
355
+
356
+ "name" : "Tremors in the Stone"
357
+
358
+ }, {
359
+
360
+ "slug" : "machines-of-war",
361
+
362
+ "name" : "Machines of War"
363
+
364
+ }, {
365
+
366
+ "slug" : "siegebreaker",
367
+
368
+ "name" : "Siegebreaker"
369
+
370
+ }, {
371
+
372
+ "slug" : "heart-of-sin",
373
+
374
+ "name" : "Heart of Sin"
375
+
376
+ } ]
377
+
378
+ },
379
+
380
+ "act4" : {
381
+
382
+ "completed" : true,
383
+
384
+ "completedQuests" : [ {
385
+
386
+ "slug" : "fall-of-the-high-heavens",
387
+
388
+ "name" : "Fall of the High Heavens"
389
+
390
+ }, {
391
+
392
+ "slug" : "the-light-of-hope",
393
+
394
+ "name" : "The Light of Hope"
395
+
396
+ }, {
397
+
398
+ "slug" : "beneath-the-spire",
399
+
400
+ "name" : "Beneath the Spire"
401
+
402
+ }, {
403
+
404
+ "slug" : "prime-evil",
405
+
406
+ "name" : "Prime Evil"
407
+
408
+ } ]
409
+
410
+ }
411
+
412
+ },
413
+
414
+ "nightmare" : {
415
+
416
+ "act1" : {
417
+
418
+ "completed" : false,
419
+
420
+ "completedQuests" : [ {
421
+
422
+ "slug" : "the-fallen-star",
423
+
424
+ "name" : "The Fallen Star"
425
+
426
+ }, {
427
+
428
+ "slug" : "the-legacy-of-cain",
429
+
430
+ "name" : "The Legacy of Cain"
431
+
432
+ }, {
433
+
434
+ "slug" : "a-shattered-crown",
435
+
436
+ "name" : "A Shattered Crown"
437
+
438
+ }, {
439
+
440
+ "slug" : "reign-of-the-black-king",
441
+
442
+ "name" : "Reign of the Black King"
443
+
444
+ }, {
445
+
446
+ "slug" : "sword-of-the-stranger",
447
+
448
+ "name" : "Sword of the Stranger"
449
+
450
+ }, {
451
+
452
+ "slug" : "the-broken-blade",
453
+
454
+ "name" : "The Broken Blade"
455
+
456
+ }, {
457
+
458
+ "slug" : "the-doom-in-wortham",
459
+
460
+ "name" : "The Doom in Wortham"
461
+
462
+ } ]
463
+
464
+ },
465
+
466
+ "act2" : {
467
+
468
+ "completed" : false,
469
+
470
+ "completedQuests" : [ ]
471
+
472
+ },
473
+
474
+ "act3" : {
475
+
476
+ "completed" : false,
477
+
478
+ "completedQuests" : [ ]
479
+
480
+ },
481
+
482
+ "act4" : {
483
+
484
+ "completed" : false,
485
+
486
+ "completedQuests" : [ ]
487
+
488
+ }
489
+
490
+ },
491
+
492
+ "hell" : {
493
+
494
+ "act1" : {
495
+
496
+ "completed" : false,
497
+
498
+ "completedQuests" : [ ]
499
+
500
+ },
501
+
502
+ "act2" : {
503
+
504
+ "completed" : false,
505
+
506
+ "completedQuests" : [ ]
507
+
508
+ },
509
+
510
+ "act3" : {
511
+
512
+ "completed" : false,
513
+
514
+ "completedQuests" : [ ]
515
+
516
+ },
517
+
518
+ "act4" : {
519
+
520
+ "completed" : false,
521
+
522
+ "completedQuests" : [ ]
523
+
524
+ }
525
+
526
+ },
527
+
528
+ "inferno" : {
529
+
530
+ "act1" : {
531
+
532
+ "completed" : false,
533
+
534
+ "completedQuests" : [ ]
535
+
536
+ },
537
+
538
+ "act2" : {
539
+
540
+ "completed" : false,
541
+
542
+ "completedQuests" : [ ]
543
+
544
+ },
545
+
546
+ "act3" : {
547
+
548
+ "completed" : false,
549
+
550
+ "completedQuests" : [ ]
551
+
552
+ },
553
+
554
+ "act4" : {
555
+
556
+ "completed" : false,
557
+
558
+ "completedQuests" : [ ]
559
+
560
+ }
561
+
562
+ }
563
+
564
+ },
565
+
566
+ "hardcoreProgression" : {
567
+
568
+ "normal" : {
569
+
570
+ "act1" : {
571
+
572
+ "completed" : false,
573
+
574
+ "completedQuests" : [ ]
575
+
576
+ },
577
+
578
+ "act2" : {
579
+
580
+ "completed" : false,
581
+
582
+ "completedQuests" : [ ]
583
+
584
+ },
585
+
586
+ "act3" : {
587
+
588
+ "completed" : false,
589
+
590
+ "completedQuests" : [ ]
591
+
592
+ },
593
+
594
+ "act4" : {
595
+
596
+ "completed" : false,
597
+
598
+ "completedQuests" : [ ]
599
+
600
+ }
601
+
602
+ },
603
+
604
+ "nightmare" : {
605
+
606
+ "act1" : {
607
+
608
+ "completed" : false,
609
+
610
+ "completedQuests" : [ ]
611
+
612
+ },
613
+
614
+ "act2" : {
615
+
616
+ "completed" : false,
617
+
618
+ "completedQuests" : [ ]
619
+
620
+ },
621
+
622
+ "act3" : {
623
+
624
+ "completed" : false,
625
+
626
+ "completedQuests" : [ ]
627
+
628
+ },
629
+
630
+ "act4" : {
631
+
632
+ "completed" : false,
633
+
634
+ "completedQuests" : [ ]
635
+
636
+ }
637
+
638
+ },
639
+
640
+ "hell" : {
641
+
642
+ "act1" : {
643
+
644
+ "completed" : false,
645
+
646
+ "completedQuests" : [ ]
647
+
648
+ },
649
+
650
+ "act2" : {
651
+
652
+ "completed" : false,
653
+
654
+ "completedQuests" : [ ]
655
+
656
+ },
657
+
658
+ "act3" : {
659
+
660
+ "completed" : false,
661
+
662
+ "completedQuests" : [ ]
663
+
664
+ },
665
+
666
+ "act4" : {
667
+
668
+ "completed" : false,
669
+
670
+ "completedQuests" : [ ]
671
+
672
+ }
673
+
674
+ },
675
+
676
+ "inferno" : {
677
+
678
+ "act1" : {
679
+
680
+ "completed" : false,
681
+
682
+ "completedQuests" : [ ]
683
+
684
+ },
685
+
686
+ "act2" : {
687
+
688
+ "completed" : false,
689
+
690
+ "completedQuests" : [ ]
691
+
692
+ },
693
+
694
+ "act3" : {
695
+
696
+ "completed" : false,
697
+
698
+ "completedQuests" : [ ]
699
+
700
+ },
701
+
702
+ "act4" : {
703
+
704
+ "completed" : false,
705
+
706
+ "completedQuests" : [ ]
707
+
708
+ }
709
+
710
+ }
711
+
712
+ }
713
+
714
+ }'
715
+ http_version:
716
+ recorded_at: Thu, 22 Aug 2013 14:45:15 GMT
717
+ recorded_with: VCR 2.5.0