battlenet 0.1.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/README.md +31 -45
  2. data/VERSION +1 -0
  3. data/battlenet.gemspec +13 -2
  4. data/lib/battlenet.rb +95 -2
  5. data/lib/battlenet/authentication.rb +21 -0
  6. data/lib/battlenet/modules/arena.rb +13 -0
  7. data/lib/battlenet/modules/auction.rb +18 -0
  8. data/lib/battlenet/modules/character.rb +12 -0
  9. data/lib/battlenet/modules/data.rb +23 -0
  10. data/lib/battlenet/modules/guild.rb +12 -0
  11. data/lib/battlenet/modules/item.rb +7 -0
  12. data/lib/battlenet/modules/realm.rb +7 -0
  13. data/spec/fixtures/cassettes/arena_fun_and_profit.yml +29 -0
  14. data/spec/fixtures/cassettes/auction_data.yml +63 -0
  15. data/spec/fixtures/cassettes/auction_files.yml +30 -0
  16. data/spec/fixtures/cassettes/character_classes.yml +33 -0
  17. data/spec/fixtures/cassettes/character_mortawa.yml +30 -0
  18. data/spec/fixtures/cassettes/character_mortawa_es.yml +48 -0
  19. data/spec/fixtures/cassettes/character_mortawa_titles.yml +32 -0
  20. data/spec/fixtures/cassettes/character_nonstandard_name.yml +30 -0
  21. data/spec/fixtures/cassettes/character_races.yml +34 -0
  22. data/spec/fixtures/cassettes/guild_perks.yml +91 -0
  23. data/spec/fixtures/cassettes/guild_rewards.yml +175 -0
  24. data/spec/fixtures/cassettes/guild_rl_bl.yml +28 -0
  25. data/spec/fixtures/cassettes/guild_rl_bl_members.yml +28 -0
  26. data/spec/fixtures/cassettes/item_classes.yml +33 -0
  27. data/spec/fixtures/cassettes/item_hooooooooooo.yml +29 -0
  28. data/spec/fixtures/cassettes/realm.yml +69 -0
  29. data/spec/integration/arena_spec.rb +14 -0
  30. data/spec/integration/auction_spec.rb +22 -0
  31. data/spec/integration/character_spec.rb +29 -0
  32. data/spec/integration/data_spec.rb +41 -0
  33. data/spec/integration/guild_spec.rb +20 -0
  34. data/spec/integration/item_spec.rb +13 -0
  35. data/spec/integration/locale_spec.rb +23 -0
  36. data/spec/integration/realm_spec.rb +15 -0
  37. data/spec/spec_helper.rb +7 -0
  38. data/spec/unit/battlenet_authentication_spec.rb +31 -0
  39. data/spec/unit/battlenet_spec.rb +158 -0
  40. metadata +151 -51
  41. data/lib/battlenet/adapter/abstract_adapter.rb +0 -11
  42. data/lib/battlenet/adapter/net_http.rb +0 -14
  43. data/lib/battlenet/adapter/typhoeus.rb +0 -13
  44. data/lib/battlenet/adapter_manager.rb +0 -51
  45. data/lib/battlenet/api.rb +0 -73
  46. data/lib/battlenet/api/realm.rb +0 -14
  47. data/lib/battlenet/version.rb +0 -3
  48. data/spec/abstract_adapter_spec.rb +0 -15
  49. data/spec/adapter_manager_spec.rb +0 -55
  50. data/spec/api_spec.rb +0 -115
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://us.battle.net:80/api/wow/guild/nazjatar/RL%20BL
6
+ body:
7
+ headers:
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ date:
14
+ - Sun, 06 Nov 2011 00:44:00 GMT
15
+ server:
16
+ - Apache
17
+ x-frame-options:
18
+ - SAMEORIGIN
19
+ content-language:
20
+ - en-US
21
+ content-length:
22
+ - '218'
23
+ vary:
24
+ - Accept-Encoding
25
+ content-type:
26
+ - application/json;charset=utf-8
27
+ body: ! '{"lastModified":1320538721000,"name":"RL BL","realm":"Nazjatar","level":25,"side":1,"achievementPoints":970,"emblem":{"icon":122,"iconColor":"ffb1b8b1","border":5,"borderColor":"ffffffff","backgroundColor":"ff009061"}}'
28
+ http_version: '1.1'
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://us.battle.net:80/api/wow/guild/nazjatar/rl%20bl?fields=members
6
+ body:
7
+ headers:
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ date:
14
+ - Sun, 06 Nov 2011 00:44:00 GMT
15
+ server:
16
+ - Apache
17
+ x-frame-options:
18
+ - SAMEORIGIN
19
+ content-language:
20
+ - en-US
21
+ vary:
22
+ - Accept-Encoding
23
+ transfer-encoding:
24
+ - chunked
25
+ content-type:
26
+ - application/json;charset=utf-8
27
+ body: ! '{"lastModified":1320538721000,"name":"RL BL","realm":"Nazjatar","level":25,"side":1,"achievementPoints":970,"members":[{"character":{"name":"Delicate","realm":"Nazjatar","class":9,"race":5,"gender":1,"level":81,"achievementPoints":0,"thumbnail":"nazjatar/21/10258453-avatar.jpg"},"rank":6},{"character":{"name":"Blessed","realm":"Nazjatar","class":2,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/195/10817987-avatar.jpg"},"rank":2},{"character":{"name":"Chunk","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/30/10885918-avatar.jpg"},"rank":6},{"character":{"name":"Moozaster","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/219/11186651-avatar.jpg"},"rank":8},{"character":{"name":"Mestipher","realm":"Nazjatar","class":8,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/102/11560550-avatar.jpg"},"rank":6},{"character":{"name":"Spektr","realm":"Nazjatar","class":8,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/116/13005940-avatar.jpg"},"rank":6},{"character":{"name":"Badas","realm":"Nazjatar","class":1,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/147/14376083-avatar.jpg"},"rank":0},{"character":{"name":"Einsteinium","realm":"Nazjatar","class":8,"race":10,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/78/14420814-avatar.jpg"},"rank":8},{"character":{"name":"Lab","realm":"Nazjatar","class":1,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/157/14628509-avatar.jpg"},"rank":8},{"character":{"name":"Beardcrumb","realm":"Nazjatar","class":8,"race":5,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/24/17477912-avatar.jpg"},"rank":8},{"character":{"name":"Blasphemer","realm":"Nazjatar","class":8,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/4/17623556-avatar.jpg"},"rank":6},{"character":{"name":"Demonspawn","realm":"Nazjatar","class":9,"race":10,"gender":0,"level":82,"achievementPoints":0,"thumbnail":"nazjatar/86/19271254-avatar.jpg"},"rank":6},{"character":{"name":"Eatdirt","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":84,"achievementPoints":0,"thumbnail":"nazjatar/164/19498916-avatar.jpg"},"rank":3},{"character":{"name":"Dirteater","realm":"Nazjatar","class":3,"race":6,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/89/19499097-avatar.jpg"},"rank":1},{"character":{"name":"Liliann","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/150/19947670-avatar.jpg"},"rank":5},{"character":{"name":"Seagal","realm":"Nazjatar","class":3,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/104/20877928-avatar.jpg"},"rank":4},{"character":{"name":"Manbearpig","realm":"Nazjatar","class":3,"race":8,"gender":0,"level":78,"achievementPoints":0,"thumbnail":"nazjatar/74/24104522-avatar.jpg"},"rank":6},{"character":{"name":"Figgyjr","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/92/24118620-avatar.jpg"},"rank":5},{"character":{"name":"Onetwothree","realm":"Nazjatar","class":7,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/210/24288722-avatar.jpg"},"rank":6},{"character":{"name":"Boneshot","realm":"Nazjatar","class":3,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/26/25310746-avatar.jpg"},"rank":3},{"character":{"name":"Mooze","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/250/25405690-avatar.jpg"},"rank":8},{"character":{"name":"Invo","realm":"Nazjatar","class":5,"race":5,"gender":0,"level":73,"achievementPoints":0,"thumbnail":"nazjatar/51/25405747-avatar.jpg"},"rank":8},{"character":{"name":"Lonestar","realm":"Nazjatar","class":1,"race":6,"gender":0,"level":83,"achievementPoints":0,"thumbnail":"nazjatar/206/25812686-avatar.jpg"},"rank":7},{"character":{"name":"Moozeal","realm":"Nazjatar","class":8,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/136/25923720-avatar.jpg"},"rank":8},{"character":{"name":"Sputters","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/174/26736814-avatar.jpg"},"rank":4},{"character":{"name":"Keroberos","realm":"Nazjatar","class":7,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/27/26999067-avatar.jpg"},"rank":3},{"character":{"name":"Inva","realm":"Nazjatar","class":1,"race":5,"gender":1,"level":53,"achievementPoints":0,"thumbnail":"nazjatar/122/27052666-avatar.jpg"},"rank":8},{"character":{"name":"Dbcooper","realm":"Nazjatar","class":4,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/161/27228577-avatar.jpg"},"rank":6},{"character":{"name":"Labrador","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":41,"achievementPoints":0,"thumbnail":"nazjatar/209/27878353-avatar.jpg"},"rank":8},{"character":{"name":"Gloomy","realm":"Nazjatar","class":3,"race":2,"gender":1,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/40/28417832-avatar.jpg"},"rank":8},{"character":{"name":"Tanthilas","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/130/28508290-avatar.jpg"},"rank":6},{"character":{"name":"Vercingetrix","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/94/31450718-avatar.jpg"},"rank":4},{"character":{"name":"Yuki","realm":"Nazjatar","class":4,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/66/31497282-avatar.jpg"},"rank":6},{"character":{"name":"Brezzurself","realm":"Nazjatar","class":11,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/221/31980509-avatar.jpg"},"rank":8},{"character":{"name":"Makeitrain","realm":"Nazjatar","class":8,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/145/32049809-avatar.jpg"},"rank":6},{"character":{"name":"Rezzurself","realm":"Nazjatar","class":5,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/197/32054981-avatar.jpg"},"rank":8},{"character":{"name":"Snarky","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":78,"achievementPoints":0,"thumbnail":"nazjatar/202/32078794-avatar.jpg"},"rank":6},{"character":{"name":"Acinil","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/230/32154086-avatar.jpg"},"rank":7},{"character":{"name":"Peakabooze","realm":"Nazjatar","class":4,"race":5,"gender":0,"level":61,"achievementPoints":0,"thumbnail":"nazjatar/91/32341083-avatar.jpg"},"rank":6},{"character":{"name":"Doctimus","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":84,"achievementPoints":0,"thumbnail":"nazjatar/224/32600800-avatar.jpg"},"rank":6},{"character":{"name":"Onegative","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/232/32698088-avatar.jpg"},"rank":2},{"character":{"name":"Montalban","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/24/32734744-avatar.jpg"},"rank":6},{"character":{"name":"Hikô","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/156/32983708-avatar.jpg"},"rank":6},{"character":{"name":"Låß","realm":"Nazjatar","class":7,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/105/34103145-avatar.jpg"},"rank":8},{"character":{"name":"Orgtrol","realm":"Nazjatar","class":4,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/181/34216885-avatar.jpg"},"rank":3},{"character":{"name":"Lapewpew","realm":"Nazjatar","class":3,"race":2,"gender":0,"level":83,"achievementPoints":0,"thumbnail":"nazjatar/161/34710433-avatar.jpg"},"rank":8},{"character":{"name":"Tek","realm":"Nazjatar","class":7,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/44/36575532-avatar.jpg"},"rank":6},{"character":{"name":"Nev","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/73/36621641-avatar.jpg"},"rank":7},{"character":{"name":"Anakwanar","realm":"Nazjatar","class":4,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/14/37013518-avatar.jpg"},"rank":8},{"character":{"name":"Stratus","realm":"Nazjatar","class":7,"race":2,"gender":0,"level":24,"achievementPoints":0,"thumbnail":"nazjatar/58/37218618-avatar.jpg"},"rank":6},{"character":{"name":"Avrakadabra","realm":"Nazjatar","class":8,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/61/37310013-avatar.jpg"},"rank":4},{"character":{"name":"Jeffthecat","realm":"Nazjatar","class":4,"race":5,"gender":0,"level":71,"achievementPoints":0,"thumbnail":"nazjatar/50/37441330-avatar.jpg"},"rank":7},{"character":{"name":"Mestifur","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/34/37653282-avatar.jpg"},"rank":5},{"character":{"name":"Veetekk","realm":"Nazjatar","class":7,"race":6,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/19/38438675-avatar.jpg"},"rank":6},{"character":{"name":"Badastwink","realm":"Nazjatar","class":1,"race":2,"gender":0,"level":19,"achievementPoints":0,"thumbnail":"nazjatar/159/38451359-avatar.jpg"},"rank":3},{"character":{"name":"Russellcrow","realm":"Nazjatar","class":1,"race":8,"gender":0,"level":74,"achievementPoints":0,"thumbnail":"nazjatar/228/38797540-avatar.jpg"},"rank":7},{"character":{"name":"Sprinkels","realm":"Nazjatar","class":4,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/183/38831287-avatar.jpg"},"rank":6},{"character":{"name":"Atrainsr","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/107/38835563-avatar.jpg"},"rank":5},{"character":{"name":"Wyysper","realm":"Nazjatar","class":4,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/126/38982014-avatar.jpg"},"rank":7},{"character":{"name":"Thepriesta","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/167/39847847-avatar.jpg"},"rank":5},{"character":{"name":"Onyxpanther","realm":"Nazjatar","class":3,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/7/40729863-avatar.jpg"},"rank":8},{"character":{"name":"Analea","realm":"Nazjatar","class":4,"race":5,"gender":1,"level":37,"achievementPoints":0,"thumbnail":"nazjatar/188/41068988-avatar.jpg"},"rank":8},{"character":{"name":"Stompo","realm":"Nazjatar","class":6,"race":6,"gender":1,"level":64,"achievementPoints":0,"thumbnail":"nazjatar/184/41595832-avatar.jpg"},"rank":3},{"character":{"name":"Thefatchick","realm":"Nazjatar","class":6,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/255/41660415-avatar.jpg"},"rank":6},{"character":{"name":"Affiliate","realm":"Nazjatar","class":6,"race":5,"gender":1,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/97/41833313-avatar.jpg"},"rank":6},{"character":{"name":"Nepho","realm":"Nazjatar","class":6,"race":10,"gender":1,"level":82,"achievementPoints":0,"thumbnail":"nazjatar/96/41874016-avatar.jpg"},"rank":6},{"character":{"name":"Galistus","realm":"Nazjatar","class":6,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/48/42276400-avatar.jpg"},"rank":7},{"character":{"name":"Moozlina","realm":"Nazjatar","class":6,"race":5,"gender":1,"level":70,"achievementPoints":0,"thumbnail":"nazjatar/181/42526645-avatar.jpg"},"rank":8},{"character":{"name":"Labtagious","realm":"Nazjatar","class":6,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/223/42526687-avatar.jpg"},"rank":8},{"character":{"name":"Drendric","realm":"Nazjatar","class":4,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/67/42555715-avatar.jpg"},"rank":8},{"character":{"name":"Jmcisawinner","realm":"Nazjatar","class":8,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/240/42777072-avatar.jpg"},"rank":7},{"character":{"name":"Toffuu","realm":"Nazjatar","class":11,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/197/42998213-avatar.jpg"},"rank":8},{"character":{"name":"Sneakybeast","realm":"Nazjatar","class":4,"race":10,"gender":0,"level":82,"achievementPoints":0,"thumbnail":"nazjatar/145/43069329-avatar.jpg"},"rank":8},{"character":{"name":"Linist","realm":"Nazjatar","class":3,"race":10,"gender":0,"level":84,"achievementPoints":0,"thumbnail":"nazjatar/89/43114073-avatar.jpg"},"rank":8},{"character":{"name":"Acalidoria","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/212/43423444-avatar.jpg"},"rank":7},{"character":{"name":"Iemonandlime","realm":"Nazjatar","class":7,"race":9,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/44/43543340-avatar.jpg"},"rank":3},{"character":{"name":"Happymoocow","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/229/44168933-avatar.jpg"},"rank":6},{"character":{"name":"Mattachi","realm":"Nazjatar","class":9,"race":5,"gender":0,"level":67,"achievementPoints":0,"thumbnail":"nazjatar/183/44271031-avatar.jpg"},"rank":6},{"character":{"name":"Puthius","realm":"Nazjatar","class":8,"race":5,"gender":0,"level":74,"achievementPoints":0,"thumbnail":"nazjatar/16/44272400-avatar.jpg"},"rank":6},{"character":{"name":"Mortawa","realm":"Nazjatar","class":6,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/110/44339054-avatar.jpg"},"rank":3},{"character":{"name":"Adruid","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/193/44693697-avatar.jpg"},"rank":6},{"character":{"name":"Lorcallus","realm":"Nazjatar","class":6,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/95/44700255-avatar.jpg"},"rank":6},{"character":{"name":"Amelian","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/182/45260214-avatar.jpg"},"rank":6},{"character":{"name":"Thunderchief","realm":"Nazjatar","class":7,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/76/45867852-avatar.jpg"},"rank":3},{"character":{"name":"Wråth","realm":"Nazjatar","class":1,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/83/45987923-avatar.jpg"},"rank":5},{"character":{"name":"Piao","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":83,"achievementPoints":0,"thumbnail":"nazjatar/184/46201272-avatar.jpg"},"rank":6},{"character":{"name":"Urgarte","realm":"Nazjatar","class":7,"race":8,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/161/46236833-avatar.jpg"},"rank":6},{"character":{"name":"Taiurrol","realm":"Nazjatar","class":6,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/40/46299176-avatar.jpg"},"rank":7},{"character":{"name":"Zoz","realm":"Nazjatar","class":8,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/192/46338752-avatar.jpg"},"rank":7},{"character":{"name":"Yukihime","realm":"Nazjatar","class":6,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/236/46683884-avatar.jpg"},"rank":6},{"character":{"name":"Nicepanda","realm":"Nazjatar","class":1,"race":6,"gender":0,"level":83,"achievementPoints":0,"thumbnail":"nazjatar/45/47019309-avatar.jpg"},"rank":6},{"character":{"name":"Xevous","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/161/47049889-avatar.jpg"},"rank":6},{"character":{"name":"Clugclugclug","realm":"Nazjatar","class":3,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/253/47502589-avatar.jpg"},"rank":5},{"character":{"name":"Müte","realm":"Nazjatar","class":4,"race":5,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/58/47985210-avatar.jpg"},"rank":6},{"character":{"name":"Crusheem","realm":"Nazjatar","class":9,"race":5,"gender":0,"level":42,"achievementPoints":0,"thumbnail":"nazjatar/162/48162978-avatar.jpg"},"rank":8},{"character":{"name":"Raevenus","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":73,"achievementPoints":0,"thumbnail":"nazjatar/247/48275447-avatar.jpg"},"rank":6},{"character":{"name":"Lutraphobic","realm":"Nazjatar","class":8,"race":10,"gender":0,"level":66,"achievementPoints":0,"thumbnail":"nazjatar/160/48609440-avatar.jpg"},"rank":3},{"character":{"name":"Symbology","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":81,"achievementPoints":0,"thumbnail":"nazjatar/236/48641004-avatar.jpg"},"rank":6},{"character":{"name":"Alguen","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":83,"achievementPoints":0,"thumbnail":"nazjatar/124/48700796-avatar.jpg"},"rank":3},{"character":{"name":"Essex","realm":"Nazjatar","class":1,"race":5,"gender":0,"level":83,"achievementPoints":0,"thumbnail":"nazjatar/34/48777762-avatar.jpg"},"rank":6},{"character":{"name":"Venture","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/29/48792605-avatar.jpg"},"rank":6},{"character":{"name":"Bulzeye","realm":"Nazjatar","class":3,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/235/49050603-avatar.jpg"},"rank":8},{"character":{"name":"Kidchoas","realm":"Nazjatar","class":6,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/3/49208835-avatar.jpg"},"rank":6},{"character":{"name":"Ellyrianna","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/190/49530046-avatar.jpg"},"rank":6},{"character":{"name":"Chaoskillz","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/125/49963389-avatar.jpg"},"rank":6},{"character":{"name":"Vinpel","realm":"Nazjatar","class":3,"race":10,"gender":0,"level":61,"achievementPoints":0,"thumbnail":"nazjatar/135/50393223-avatar.jpg"},"rank":6},{"character":{"name":"Ghouki","realm":"Nazjatar","class":4,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/110/50419054-avatar.jpg"},"rank":8},{"character":{"name":"Raedynn","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/116/50429044-avatar.jpg"},"rank":4},{"character":{"name":"Thelis","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/53/50442805-avatar.jpg"},"rank":7},{"character":{"name":"Alteeny","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/55/50701111-avatar.jpg"},"rank":4},{"character":{"name":"Tegress","realm":"Nazjatar","class":8,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/250/50757114-avatar.jpg"},"rank":5},{"character":{"name":"Funkdafied","realm":"Nazjatar","class":7,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/140/50804108-avatar.jpg"},"rank":6},{"character":{"name":"Manhor","realm":"Nazjatar","class":1,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/141/50850701-avatar.jpg"},"rank":4},{"character":{"name":"Specheals","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/17/51103761-avatar.jpg"},"rank":2},{"character":{"name":"Docatron","realm":"Nazjatar","class":6,"race":2,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/200/51456968-avatar.jpg"},"rank":6},{"character":{"name":"Raeminisce","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/214/51467734-avatar.jpg"},"rank":6},{"character":{"name":"Kurtwrestle","realm":"Nazjatar","class":6,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/28/51541276-avatar.jpg"},"rank":5},{"character":{"name":"Monsteruh","realm":"Nazjatar","class":3,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/223/51746271-avatar.jpg"},"rank":7},{"character":{"name":"Carlomarx","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/20/51991060-avatar.jpg"},"rank":4},{"character":{"name":"Strikethree","realm":"Nazjatar","class":6,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/189/52506557-avatar.jpg"},"rank":6},{"character":{"name":"Paradiselost","realm":"Nazjatar","class":9,"race":10,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/118/52507510-avatar.jpg"},"rank":6},{"character":{"name":"Lumastin","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/70/53005894-avatar.jpg"},"rank":6},{"character":{"name":"Kalabast","realm":"Nazjatar","class":9,"race":5,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/1/53314305-avatar.jpg"},"rank":8},{"character":{"name":"Mockrim","realm":"Nazjatar","class":7,"race":2,"gender":0,"level":81,"achievementPoints":0,"thumbnail":"nazjatar/109/53825133-avatar.jpg"},"rank":6},{"character":{"name":"Razeal","realm":"Nazjatar","class":1,"race":5,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/231/53957095-avatar.jpg"},"rank":6},{"character":{"name":"Kagakiri","realm":"Nazjatar","class":3,"race":10,"gender":1,"level":45,"achievementPoints":0,"thumbnail":"nazjatar/93/54232157-avatar.jpg"},"rank":6},{"character":{"name":"Miao","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/214/54432982-avatar.jpg"},"rank":8},{"character":{"name":"Hexodus","realm":"Nazjatar","class":9,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/87/54576471-avatar.jpg"},"rank":6},{"character":{"name":"Raistlinn","realm":"Nazjatar","class":8,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/230/54727910-avatar.jpg"},"rank":6},{"character":{"name":"Reshka","realm":"Nazjatar","class":9,"race":2,"gender":1,"level":77,"achievementPoints":0,"thumbnail":"nazjatar/66/55118402-avatar.jpg"},"rank":3},{"character":{"name":"Furrylinist","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/190/55219902-avatar.jpg"},"rank":8},{"character":{"name":"Brickfaced","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/27/55694875-avatar.jpg"},"rank":6},{"character":{"name":"Shamisen","realm":"Nazjatar","class":7,"race":6,"gender":0,"level":10,"achievementPoints":0,"thumbnail":"nazjatar/114/55751538-avatar.jpg"},"rank":6},{"character":{"name":"Beardington","realm":"Nazjatar","class":3,"race":6,"gender":0,"level":35,"achievementPoints":0,"thumbnail":"nazjatar/229/55802341-avatar.jpg"},"rank":8},{"character":{"name":"Thawte","realm":"Nazjatar","class":6,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/35/55927587-avatar.jpg"},"rank":7},{"character":{"name":"Imagirllol","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":84,"achievementPoints":0,"thumbnail":"nazjatar/202/55997386-avatar.jpg"},"rank":6},{"character":{"name":"Bludthirsty","realm":"Nazjatar","class":7,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/46/56521006-avatar.jpg"},"rank":6},{"character":{"name":"Specfx","realm":"Nazjatar","class":6,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/100/56568932-avatar.jpg"},"rank":5},{"character":{"name":"Carpemortis","realm":"Nazjatar","class":1,"race":2,"gender":0,"level":44,"achievementPoints":0,"thumbnail":"nazjatar/156/56835228-avatar.jpg"},"rank":7},{"character":{"name":"Joshisraw","realm":"Nazjatar","class":1,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/211/56861907-avatar.jpg"},"rank":8},{"character":{"name":"Més","realm":"Nazjatar","class":4,"race":10,"gender":1,"level":81,"achievementPoints":0,"thumbnail":"nazjatar/110/57058158-avatar.jpg"},"rank":6},{"character":{"name":"Meanerpanda","realm":"Nazjatar","class":9,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/90/57128282-avatar.jpg"},"rank":5},{"character":{"name":"Capslöck","realm":"Nazjatar","class":9,"race":10,"gender":1,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/235/57145579-avatar.jpg"},"rank":8},{"character":{"name":"Nevalainen","realm":"Nazjatar","class":5,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/115/57354611-avatar.jpg"},"rank":7},{"character":{"name":"Merlo","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/78/57538126-avatar.jpg"},"rank":6},{"character":{"name":"Lockrobsterr","realm":"Nazjatar","class":6,"race":5,"gender":0,"level":71,"achievementPoints":0,"thumbnail":"nazjatar/172/57599660-avatar.jpg"},"rank":6},{"character":{"name":"Deadbadas","realm":"Nazjatar","class":6,"race":6,"gender":0,"level":60,"achievementPoints":0,"thumbnail":"nazjatar/114/57978482-avatar.jpg"},"rank":3},{"character":{"name":"Cherria","realm":"Nazjatar","class":8,"race":10,"gender":1,"level":64,"achievementPoints":0,"thumbnail":"nazjatar/70/58273862-avatar.jpg"},"rank":7},{"character":{"name":"Sáncho","realm":"Nazjatar","class":9,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/181/58408117-avatar.jpg"},"rank":6},{"character":{"name":"Ressurself","realm":"Nazjatar","class":9,"race":2,"gender":0,"level":19,"achievementPoints":0,"thumbnail":"nazjatar/27/58492699-avatar.jpg"},"rank":6},{"character":{"name":"Sassylass","realm":"Nazjatar","class":9,"race":10,"gender":1,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/164/58585252-avatar.jpg"},"rank":6},{"character":{"name":"Tipher","realm":"Nazjatar","class":6,"race":2,"gender":0,"level":76,"achievementPoints":0,"thumbnail":"nazjatar/232/58778600-avatar.jpg"},"rank":6},{"character":{"name":"Raylis","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":41,"achievementPoints":0,"thumbnail":"nazjatar/17/59197969-avatar.jpg"},"rank":7},{"character":{"name":"Zilloz","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":1,"achievementPoints":0,"thumbnail":"nazjatar/160/59295904-avatar.jpg"},"rank":6},{"character":{"name":"Monsterish","realm":"Nazjatar","class":5,"race":8,"gender":1,"level":42,"achievementPoints":0,"thumbnail":"nazjatar/116/59458420-avatar.jpg"},"rank":6},{"character":{"name":"Clew","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/66/59536962-avatar.jpg"},"rank":7},{"character":{"name":"Orygami","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/36/59592740-avatar.jpg"},"rank":7},{"character":{"name":"Minirock","realm":"Nazjatar","class":7,"race":2,"gender":0,"level":2,"achievementPoints":0,"thumbnail":"nazjatar/190/63878334-avatar.jpg"},"rank":6},{"character":{"name":"Raevelation","realm":"Nazjatar","class":9,"race":10,"gender":1,"level":76,"achievementPoints":0,"thumbnail":"nazjatar/142/64180110-avatar.jpg"},"rank":6},{"character":{"name":"Twyster","realm":"Nazjatar","class":3,"race":8,"gender":0,"level":65,"achievementPoints":0,"thumbnail":"nazjatar/106/64394090-avatar.jpg"},"rank":7},{"character":{"name":"Paladiction","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/91/64420955-avatar.jpg"},"rank":6},{"character":{"name":"Raevitalyze","realm":"Nazjatar","class":8,"race":8,"gender":1,"level":54,"achievementPoints":0,"thumbnail":"nazjatar/54/64498486-avatar.jpg"},"rank":7},{"character":{"name":"Razortucks","realm":"Nazjatar","class":7,"race":8,"gender":0,"level":70,"achievementPoints":0,"thumbnail":"nazjatar/75/64816715-avatar.jpg"},"rank":7},{"character":{"name":"Twisp","realm":"Nazjatar","class":6,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/150/65431958-avatar.jpg"},"rank":7},{"character":{"name":"Hydraulic","realm":"Nazjatar","class":3,"race":2,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/95/65735775-avatar.jpg"},"rank":8},{"character":{"name":"Shamaymay","realm":"Nazjatar","class":7,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/174/65873838-avatar.jpg"},"rank":3},{"character":{"name":"Nancee","realm":"Nazjatar","class":9,"race":5,"gender":1,"level":40,"achievementPoints":0,"thumbnail":"nazjatar/128/66268800-avatar.jpg"},"rank":8},{"character":{"name":"Tùn","realm":"Nazjatar","class":1,"race":9,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/79/66673743-avatar.jpg"},"rank":6},{"character":{"name":"Jakburton","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":27,"achievementPoints":0,"thumbnail":"nazjatar/95/66826079-avatar.jpg"},"rank":6},{"character":{"name":"Moozank","realm":"Nazjatar","class":4,"race":10,"gender":0,"level":31,"achievementPoints":0,"thumbnail":"nazjatar/133/67470981-avatar.jpg"},"rank":8},{"character":{"name":"Dragnum","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":55,"achievementPoints":0,"thumbnail":"nazjatar/106/68073834-avatar.jpg"},"rank":7},{"character":{"name":"Hottzforyou","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/219/68159963-avatar.jpg"},"rank":6},{"character":{"name":"Teresaria","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/174/68821422-avatar.jpg"},"rank":8},{"character":{"name":"Mcnuggit","realm":"Nazjatar","class":3,"race":8,"gender":0,"level":51,"achievementPoints":0,"thumbnail":"nazjatar/200/68894408-avatar.jpg"},"rank":7},{"character":{"name":"Tristanie","realm":"Nazjatar","class":8,"race":10,"gender":1,"level":45,"achievementPoints":0,"thumbnail":"nazjatar/74/68905802-avatar.jpg"},"rank":8},{"character":{"name":"Dorp","realm":"Nazjatar","class":8,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/100/69144676-avatar.jpg"},"rank":6},{"character":{"name":"Specsniper","realm":"Nazjatar","class":3,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/200/70050248-avatar.jpg"},"rank":6},{"character":{"name":"Shotzz","realm":"Nazjatar","class":3,"race":8,"gender":0,"level":70,"achievementPoints":0,"thumbnail":"nazjatar/60/70343996-avatar.jpg"},"rank":6},{"character":{"name":"Udderrs","realm":"Nazjatar","class":11,"race":6,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/124/70356092-avatar.jpg"},"rank":7},{"character":{"name":"Speculaetion","realm":"Nazjatar","class":4,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/230/70976230-avatar.jpg"},"rank":3},{"character":{"name":"Deadlykeme","realm":"Nazjatar","class":1,"race":5,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/164/71687588-avatar.jpg"},"rank":6},{"character":{"name":"Blueshift","realm":"Nazjatar","class":11,"race":6,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/194/73271490-avatar.jpg"},"rank":6},{"character":{"name":"Hamerhoof","realm":"Nazjatar","class":2,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/157/74793373-avatar.jpg"},"rank":6},{"character":{"name":"Scobee","realm":"Nazjatar","class":1,"race":9,"gender":1,"level":19,"achievementPoints":0,"thumbnail":"nazjatar/17/75145489-avatar.jpg"},"rank":6},{"character":{"name":"Ogkushbudder","realm":"Nazjatar","class":1,"race":8,"gender":0,"level":74,"achievementPoints":0,"thumbnail":"nazjatar/13/75408653-avatar.jpg"},"rank":8},{"character":{"name":"Pyck","realm":"Nazjatar","class":4,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/178/75443378-avatar.jpg"},"rank":6},{"character":{"name":"Moogwitch","realm":"Nazjatar","class":7,"race":9,"gender":1,"level":8,"achievementPoints":0,"thumbnail":"nazjatar/15/75470095-avatar.jpg"},"rank":6},{"character":{"name":"Haló","realm":"Nazjatar","class":6,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/4/75554308-avatar.jpg"},"rank":8},{"character":{"name":"Killowattz","realm":"Nazjatar","class":7,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/169/75559081-avatar.jpg"},"rank":6},{"character":{"name":"Shoottokill","realm":"Nazjatar","class":3,"race":9,"gender":0,"level":18,"achievementPoints":0,"thumbnail":"nazjatar/131/75810691-avatar.jpg"},"rank":8},{"character":{"name":"Bênge","realm":"Nazjatar","class":2,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/139/75824011-avatar.jpg"},"rank":7},{"character":{"name":"Splitbolt","realm":"Nazjatar","class":7,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/165/75837861-avatar.jpg"},"rank":7},{"character":{"name":"Dirtshanks","realm":"Nazjatar","class":4,"race":9,"gender":0,"level":48,"achievementPoints":0,"thumbnail":"nazjatar/203/75888075-avatar.jpg"},"rank":3},{"character":{"name":"Serraphm","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/102/75916134-avatar.jpg"},"rank":8},{"character":{"name":"Calcorpse","realm":"Nazjatar","class":8,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/151/75951767-avatar.jpg"},"rank":7},{"character":{"name":"Raevynnous","realm":"Nazjatar","class":3,"race":9,"gender":1,"level":15,"achievementPoints":0,"thumbnail":"nazjatar/142/76035982-avatar.jpg"},"rank":6},{"character":{"name":"Athenea","realm":"Nazjatar","class":8,"race":10,"gender":1,"level":8,"achievementPoints":0,"thumbnail":"nazjatar/243/76066035-avatar.jpg"},"rank":8},{"character":{"name":"Muddsy","realm":"Nazjatar","class":5,"race":9,"gender":1,"level":19,"achievementPoints":0,"thumbnail":"nazjatar/212/76271828-avatar.jpg"},"rank":7},{"character":{"name":"Quellevine","realm":"Nazjatar","class":3,"race":10,"gender":1,"level":9,"achievementPoints":0,"thumbnail":"nazjatar/55/76373815-avatar.jpg"},"rank":6},{"character":{"name":"Labrakadabra","realm":"Nazjatar","class":9,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/182/76446390-avatar.jpg"},"rank":8},{"character":{"name":"Gobblock","realm":"Nazjatar","class":9,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/127/76481663-avatar.jpg"},"rank":6},{"character":{"name":"Wagtarg","realm":"Nazjatar","class":7,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/110/76530286-avatar.jpg"},"rank":7},{"character":{"name":"Moostipher","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":84,"achievementPoints":0,"thumbnail":"nazjatar/30/76557854-avatar.jpg"},"rank":6},{"character":{"name":"Skulltrail","realm":"Nazjatar","class":3,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/156/76603292-avatar.jpg"},"rank":5},{"character":{"name":"Sychay","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/47/76769071-avatar.jpg"},"rank":6},{"character":{"name":"Tasslëhoff","realm":"Nazjatar","class":4,"race":9,"gender":0,"level":19,"achievementPoints":0,"thumbnail":"nazjatar/184/76782776-avatar.jpg"},"rank":6},{"character":{"name":"Serriphm","realm":"Nazjatar","class":1,"race":10,"gender":1,"level":73,"achievementPoints":0,"thumbnail":"nazjatar/253/76783613-avatar.jpg"},"rank":8},{"character":{"name":"Rokette","realm":"Nazjatar","class":8,"race":9,"gender":1,"level":54,"achievementPoints":0,"thumbnail":"nazjatar/6/76838406-avatar.jpg"},"rank":3},{"character":{"name":"Metalsaurrex","realm":"Nazjatar","class":6,"race":2,"gender":0,"level":81,"achievementPoints":0,"thumbnail":"nazjatar/40/76840232-avatar.jpg"},"rank":7},{"character":{"name":"Demanco","realm":"Nazjatar","class":8,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/3/76852483-avatar.jpg"},"rank":9},{"character":{"name":"Trandine","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":84,"achievementPoints":0,"thumbnail":"nazjatar/163/76958627-avatar.jpg"},"rank":7},{"character":{"name":"Ghashubal","realm":"Nazjatar","class":7,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/215/76958935-avatar.jpg"},"rank":6},{"character":{"name":"Clews","realm":"Nazjatar","class":7,"race":9,"gender":1,"level":78,"achievementPoints":0,"thumbnail":"nazjatar/20/77040404-avatar.jpg"},"rank":8},{"character":{"name":"Xaggerg","realm":"Nazjatar","class":7,"race":9,"gender":0,"level":37,"achievementPoints":0,"thumbnail":"nazjatar/255/77416447-avatar.jpg"},"rank":6},{"character":{"name":"Rezzjr","realm":"Nazjatar","class":3,"race":8,"gender":0,"level":43,"achievementPoints":0,"thumbnail":"nazjatar/0/77464320-avatar.jpg"},"rank":6},{"character":{"name":"Crustbumper","realm":"Nazjatar","class":1,"race":9,"gender":0,"level":74,"achievementPoints":0,"thumbnail":"nazjatar/192/77505728-avatar.jpg"},"rank":6},{"character":{"name":"Bowdek","realm":"Nazjatar","class":1,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/2/77508610-avatar.jpg"},"rank":6},{"character":{"name":"Eeblik","realm":"Nazjatar","class":6,"race":9,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/141/77530509-avatar.jpg"},"rank":7},{"character":{"name":"Nexima","realm":"Nazjatar","class":1,"race":5,"gender":1,"level":60,"achievementPoints":0,"thumbnail":"nazjatar/35/77531939-avatar.jpg"},"rank":8},{"character":{"name":"Zumpzz","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/94/77560158-avatar.jpg"},"rank":7},{"character":{"name":"Turnandrun","realm":"Nazjatar","class":3,"race":9,"gender":0,"level":13,"achievementPoints":0,"thumbnail":"nazjatar/57/77568057-avatar.jpg"},"rank":6},{"character":{"name":"Tessman","realm":"Nazjatar","class":7,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/56/77748280-avatar.jpg"},"rank":8},{"character":{"name":"Hyjinx","realm":"Nazjatar","class":5,"race":9,"gender":0,"level":83,"achievementPoints":0,"thumbnail":"nazjatar/206/77748430-avatar.jpg"},"rank":6},{"character":{"name":"Misdef","realm":"Nazjatar","class":3,"race":8,"gender":1,"level":63,"achievementPoints":0,"thumbnail":"nazjatar/28/77799452-avatar.jpg"},"rank":8},{"character":{"name":"Caulkblock","realm":"Nazjatar","class":5,"race":5,"gender":0,"level":18,"achievementPoints":0,"thumbnail":"nazjatar/186/77864378-avatar.jpg"},"rank":6},{"character":{"name":"Caulkknocker","realm":"Nazjatar","class":2,"race":6,"gender":0,"level":14,"achievementPoints":0,"thumbnail":"nazjatar/182/77897910-avatar.jpg"},"rank":6},{"character":{"name":"Eyeofthehawk","realm":"Nazjatar","class":3,"race":9,"gender":0,"level":56,"achievementPoints":0,"thumbnail":"nazjatar/58/77904186-avatar.jpg"},"rank":6},{"character":{"name":"Bigiron","realm":"Nazjatar","class":1,"race":9,"gender":0,"level":73,"achievementPoints":0,"thumbnail":"nazjatar/130/77978498-avatar.jpg"},"rank":8},{"character":{"name":"Turreaux","realm":"Nazjatar","class":9,"race":2,"gender":0,"level":7,"achievementPoints":0,"thumbnail":"nazjatar/5/78116613-avatar.jpg"},"rank":6},{"character":{"name":"Drshockblast","realm":"Nazjatar","class":7,"race":9,"gender":0,"level":35,"achievementPoints":0,"thumbnail":"nazjatar/47/78161199-avatar.jpg"},"rank":7},{"character":{"name":"Alix","realm":"Nazjatar","class":7,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/181/78237621-avatar.jpg"},"rank":7},{"character":{"name":"Recmbustiate","realm":"Nazjatar","class":9,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/90/78427738-avatar.jpg"},"rank":5},{"character":{"name":"Specsolar","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":76,"achievementPoints":0,"thumbnail":"nazjatar/57/78591033-avatar.jpg"},"rank":6},{"character":{"name":"Thumbwrestle","realm":"Nazjatar","class":4,"race":5,"gender":1,"level":71,"achievementPoints":0,"thumbnail":"nazjatar/111/78601071-avatar.jpg"},"rank":6},{"character":{"name":"Sacredcow","realm":"Nazjatar","class":2,"race":6,"gender":1,"level":28,"achievementPoints":0,"thumbnail":"nazjatar/185/78698937-avatar.jpg"},"rank":6},{"character":{"name":"Tuurd","realm":"Nazjatar","class":11,"race":8,"gender":0,"level":19,"achievementPoints":0,"thumbnail":"nazjatar/190/78758334-avatar.jpg"},"rank":8},{"character":{"name":"Rockingpvp","realm":"Nazjatar","class":7,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/193/78837185-avatar.jpg"},"rank":6},{"character":{"name":"Juggerdin","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/60/78848060-avatar.jpg"},"rank":7},{"character":{"name":"Bowcephus","realm":"Nazjatar","class":1,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/75/78848075-avatar.jpg"},"rank":7},{"character":{"name":"Yngvi","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/62/78849342-avatar.jpg"},"rank":7},{"character":{"name":"Bnegative","realm":"Nazjatar","class":3,"race":2,"gender":0,"level":6,"achievementPoints":0,"thumbnail":"nazjatar/77/78887245-avatar.jpg"},"rank":3},{"character":{"name":"Valkyriê","realm":"Nazjatar","class":7,"race":9,"gender":1,"level":24,"achievementPoints":0,"thumbnail":"nazjatar/254/78985214-avatar.jpg"},"rank":6},{"character":{"name":"Messwitme","realm":"Nazjatar","class":8,"race":9,"gender":0,"level":70,"achievementPoints":0,"thumbnail":"nazjatar/6/79004166-avatar.jpg"},"rank":6},{"character":{"name":"Paquette","realm":"Nazjatar","class":9,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/206/79045326-avatar.jpg"},"rank":7},{"character":{"name":"Krimewave","realm":"Nazjatar","class":11,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/229/79090405-avatar.jpg"},"rank":7},{"character":{"name":"Greist","realm":"Nazjatar","class":5,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/98/79092578-avatar.jpg"},"rank":3},{"character":{"name":"Zaki","realm":"Nazjatar","class":3,"race":2,"gender":0,"level":21,"achievementPoints":0,"thumbnail":"nazjatar/67/79124291-avatar.jpg"},"rank":7},{"character":{"name":"Critzngigglz","realm":"Nazjatar","class":3,"race":9,"gender":0,"level":26,"achievementPoints":0,"thumbnail":"nazjatar/146/79153554-avatar.jpg"},"rank":6},{"character":{"name":"Labmeltuface","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":18,"achievementPoints":0,"thumbnail":"nazjatar/112/79188592-avatar.jpg"},"rank":8},{"character":{"name":"Clewing","realm":"Nazjatar","class":9,"race":5,"gender":0,"level":29,"achievementPoints":0,"thumbnail":"nazjatar/93/79219805-avatar.jpg"},"rank":7},{"character":{"name":"Tùnie","realm":"Nazjatar","class":3,"race":9,"gender":1,"level":70,"achievementPoints":0,"thumbnail":"nazjatar/235/79243755-avatar.jpg"},"rank":6},{"character":{"name":"Photocell","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":25,"achievementPoints":0,"thumbnail":"nazjatar/175/79326127-avatar.jpg"},"rank":7},{"character":{"name":"Podo","realm":"Nazjatar","class":8,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/154/79357082-avatar.jpg"},"rank":6},{"character":{"name":"Memage","realm":"Nazjatar","class":8,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/209/79358929-avatar.jpg"},"rank":6},{"character":{"name":"Magicmayne","realm":"Nazjatar","class":7,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/25/79365657-avatar.jpg"},"rank":5},{"character":{"name":"Labrakhazam","realm":"Nazjatar","class":8,"race":9,"gender":1,"level":18,"achievementPoints":0,"thumbnail":"nazjatar/68/79371076-avatar.jpg"},"rank":8},{"character":{"name":"Marsvolta","realm":"Nazjatar","class":9,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/88/79414616-avatar.jpg"},"rank":6},{"character":{"name":"Clewed","realm":"Nazjatar","class":1,"race":2,"gender":0,"level":23,"achievementPoints":0,"thumbnail":"nazjatar/213/79494869-avatar.jpg"},"rank":7},{"character":{"name":"Pollution","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/130/79542914-avatar.jpg"},"rank":7},{"character":{"name":"Brookelle","realm":"Nazjatar","class":8,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/226/79628770-avatar.jpg"},"rank":7},{"character":{"name":"Terpz","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/222/79795678-avatar.jpg"},"rank":6},{"character":{"name":"Spectotemic","realm":"Nazjatar","class":7,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/145/79906705-avatar.jpg"},"rank":6},{"character":{"name":"Spike","realm":"Nazjatar","class":5,"race":5,"gender":0,"level":80,"achievementPoints":0,"thumbnail":"nazjatar/23/79951895-avatar.jpg"},"rank":6},{"character":{"name":"Fancypanda","realm":"Nazjatar","class":11,"race":6,"gender":1,"level":26,"achievementPoints":0,"thumbnail":"nazjatar/23/80015895-avatar.jpg"},"rank":6},{"character":{"name":"Beefstik","realm":"Nazjatar","class":6,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/157/80064669-avatar.jpg"},"rank":7},{"character":{"name":"Greyland","realm":"Nazjatar","class":6,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/251/80316667-avatar.jpg"},"rank":6},{"character":{"name":"Marok","realm":"Nazjatar","class":8,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/209/80316881-avatar.jpg"},"rank":5},{"character":{"name":"Ducttape","realm":"Nazjatar","class":3,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/249/80371705-avatar.jpg"},"rank":5},{"character":{"name":"Sanchoclauz","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/0/80419072-avatar.jpg"},"rank":6},{"character":{"name":"Triixx","realm":"Nazjatar","class":5,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/32/80421664-avatar.jpg"},"rank":6},{"character":{"name":"Novaquane","realm":"Nazjatar","class":9,"race":2,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/99/80534371-avatar.jpg"},"rank":7},{"character":{"name":"Bevoc","realm":"Nazjatar","class":2,"race":6,"gender":0,"level":9,"achievementPoints":0,"thumbnail":"nazjatar/133/80554885-avatar.jpg"},"rank":6},{"character":{"name":"Ukf","realm":"Nazjatar","class":7,"race":9,"gender":1,"level":60,"achievementPoints":0,"thumbnail":"nazjatar/214/80558038-avatar.jpg"},"rank":7},{"character":{"name":"Buttonologst","realm":"Nazjatar","class":1,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/92/80645980-avatar.jpg"},"rank":7},{"character":{"name":"Ferea","realm":"Nazjatar","class":6,"race":2,"gender":0,"level":68,"achievementPoints":0,"thumbnail":"nazjatar/129/80669825-avatar.jpg"},"rank":7},{"character":{"name":"Barbeastie","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":64,"achievementPoints":0,"thumbnail":"nazjatar/197/80729029-avatar.jpg"},"rank":9},{"character":{"name":"Quágmire","realm":"Nazjatar","class":8,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/90/80874586-avatar.jpg"},"rank":6},{"character":{"name":"Dothh","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/34/80876834-avatar.jpg"},"rank":7},{"character":{"name":"Raevena","realm":"Nazjatar","class":2,"race":10,"gender":1,"level":11,"achievementPoints":0,"thumbnail":"nazjatar/71/80895303-avatar.jpg"},"rank":9},{"character":{"name":"Manodedios","realm":"Nazjatar","class":7,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/125/80973181-avatar.jpg"},"rank":6},{"character":{"name":"Vonvejr","realm":"Nazjatar","class":5,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/56/81086520-avatar.jpg"},"rank":6},{"character":{"name":"Uhhmuh","realm":"Nazjatar","class":5,"race":8,"gender":0,"level":10,"achievementPoints":0,"thumbnail":"nazjatar/5/81196037-avatar.jpg"},"rank":7},{"character":{"name":"Huntzilla","realm":"Nazjatar","class":3,"race":6,"gender":0,"level":43,"achievementPoints":0,"thumbnail":"nazjatar/204/81403852-avatar.jpg"},"rank":6},{"character":{"name":"Vonve","realm":"Nazjatar","class":9,"race":8,"gender":1,"level":3,"achievementPoints":0,"thumbnail":"nazjatar/172/81580204-avatar.jpg"},"rank":4},{"character":{"name":"Rafeeky","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/30/81676318-avatar.jpg"},"rank":7},{"character":{"name":"Uf","realm":"Nazjatar","class":6,"race":5,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/241/81898225-avatar.jpg"},"rank":6},{"character":{"name":"Bfpaladin","realm":"Nazjatar","class":2,"race":10,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/54/81963830-avatar.jpg"},"rank":7},{"character":{"name":"Kickstart","realm":"Nazjatar","class":4,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/180/82526388-avatar.jpg"},"rank":7},{"character":{"name":"Shamaloma","realm":"Nazjatar","class":7,"race":8,"gender":0,"level":26,"achievementPoints":0,"thumbnail":"nazjatar/236/82724588-avatar.jpg"},"rank":6},{"character":{"name":"Cyaga","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/76/83166284-avatar.jpg"},"rank":1},{"character":{"name":"Drakah","realm":"Nazjatar","class":3,"race":2,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/61/83279933-avatar.jpg"},"rank":3},{"character":{"name":"Ninevolt","realm":"Nazjatar","class":7,"race":9,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/160/83312032-avatar.jpg"},"rank":3},{"character":{"name":"Rocklobster","realm":"Nazjatar","class":9,"race":2,"gender":0,"level":5,"achievementPoints":0,"thumbnail":"nazjatar/215/83426519-avatar.jpg"},"rank":8},{"character":{"name":"Imacowhomie","realm":"Nazjatar","class":11,"race":6,"gender":0,"level":4,"achievementPoints":0,"thumbnail":"nazjatar/232/83497448-avatar.jpg"},"rank":7},{"character":{"name":"Gertbirttok","realm":"Nazjatar","class":9,"race":8,"gender":0,"level":15,"achievementPoints":0,"thumbnail":"nazjatar/167/83536807-avatar.jpg"},"rank":6},{"character":{"name":"Karashka","realm":"Nazjatar","class":4,"race":2,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/13/83545357-avatar.jpg"},"rank":3},{"character":{"name":"Swindleshank","realm":"Nazjatar","class":4,"race":9,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/113/83545457-avatar.jpg"},"rank":3},{"character":{"name":"Incredibull","realm":"Nazjatar","class":1,"race":6,"gender":0,"level":66,"achievementPoints":0,"thumbnail":"nazjatar/167/83574951-avatar.jpg"},"rank":3},{"character":{"name":"Labowski","realm":"Nazjatar","class":7,"race":2,"gender":0,"level":83,"achievementPoints":0,"thumbnail":"nazjatar/97/83579233-avatar.jpg"},"rank":7},{"character":{"name":"Highkicks","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/204/83616460-avatar.jpg"},"rank":3},{"character":{"name":"Hubbins","realm":"Nazjatar","class":11,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/72/83662664-avatar.jpg"},"rank":3},{"character":{"name":"Grindy","realm":"Nazjatar","class":1,"race":9,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/120/83736440-avatar.jpg"},"rank":3},{"character":{"name":"Zukkazugkuga","realm":"Nazjatar","class":3,"race":9,"gender":1,"level":7,"achievementPoints":0,"thumbnail":"nazjatar/162/83738530-avatar.jpg"},"rank":7},{"character":{"name":"Boxorox","realm":"Nazjatar","class":1,"race":2,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/179/83763123-avatar.jpg"},"rank":7},{"character":{"name":"Wsp","realm":"Nazjatar","class":4,"race":9,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/158/83768478-avatar.jpg"},"rank":4},{"character":{"name":"Ibetrollin","realm":"Nazjatar","class":5,"race":8,"gender":1,"level":1,"achievementPoints":0,"thumbnail":"nazjatar/20/83819028-avatar.jpg"},"rank":8},{"character":{"name":"Arcspark","realm":"Nazjatar","class":7,"race":9,"gender":1,"level":14,"achievementPoints":0,"thumbnail":"nazjatar/74/83820874-avatar.jpg"},"rank":7},{"character":{"name":"Yngvarr","realm":"Nazjatar","class":1,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/128/83903360-avatar.jpg"},"rank":7},{"character":{"name":"Tùnqt","realm":"Nazjatar","class":9,"race":9,"gender":1,"level":60,"achievementPoints":0,"thumbnail":"nazjatar/247/84062967-avatar.jpg"},"rank":6},{"character":{"name":"Frantix","realm":"Nazjatar","class":8,"race":9,"gender":1,"level":60,"achievementPoints":0,"thumbnail":"nazjatar/112/77850992-avatar.jpg"},"rank":6},{"character":{"name":"Specpenguin","realm":"Nazjatar","class":8,"race":2,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/42/81999658-avatar.jpg"},"rank":3},{"character":{"name":"Xandianth","realm":"Nazjatar","class":5,"race":10,"gender":0,"level":83,"achievementPoints":0,"thumbnail":"nazjatar/48/25942320-avatar.jpg"},"rank":7},{"character":{"name":"Ukf","realm":"Nazjatar","class":7,"race":9,"gender":1,"level":60,"achievementPoints":0,"thumbnail":"nazjatar/54/84126006-avatar.jpg"},"rank":7},{"character":{"name":"Imagirllol","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":84,"achievementPoints":0,"thumbnail":"nazjatar/9/84124425-avatar.jpg"},"rank":7},{"character":{"name":"Allianya","realm":"Nazjatar","class":5,"race":10,"gender":1,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/128/50311552-avatar.jpg"},"rank":4},{"character":{"name":"Lahzramar","realm":"Nazjatar","class":9,"race":2,"gender":0,"level":82,"achievementPoints":0,"thumbnail":"nazjatar/81/75925585-avatar.jpg"},"rank":9},{"character":{"name":"Tùne","realm":"Nazjatar","class":11,"race":8,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/20/84171028-avatar.jpg"},"rank":8},{"character":{"name":"Wolakota","realm":"Nazjatar","class":2,"race":6,"gender":0,"level":85,"achievementPoints":0,"thumbnail":"nazjatar/185/84189369-avatar.jpg"},"rank":4}],"emblem":{"icon":122,"iconColor":"ffb1b8b1","border":5,"borderColor":"ffffffff","backgroundColor":"ff009061"}}'
28
+ http_version: '1.1'
@@ -0,0 +1,33 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://us.battle.net:80/api/wow/data/item/classes
6
+ body:
7
+ headers:
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ date:
14
+ - Sun, 06 Nov 2011 01:08:55 GMT
15
+ server:
16
+ - Apache
17
+ x-frame-options:
18
+ - SAMEORIGIN
19
+ expires:
20
+ - Tue, 06 Dec 2011 01:08:55 GMT
21
+ cache-control:
22
+ - max-age=2592000
23
+ content-language:
24
+ - en-US
25
+ content-length:
26
+ - '425'
27
+ vary:
28
+ - Accept-Encoding
29
+ content-type:
30
+ - application/json;charset=utf-8
31
+ body: ! '{"classes":[{"class":0,"name":"Consumable"},{"class":1,"name":"Container"},{"class":2,"name":"Weapon"},{"class":3,"name":"Gem"},{"class":4,"name":"Armor"},{"class":5,"name":"Reagent"},{"class":6,"name":"Projectile"},{"class":7,"name":"Trade
32
+ Goods"},{"class":9,"name":"Recipe"},{"class":11,"name":"Quiver"},{"class":12,"name":"Quest"},{"class":13,"name":"Key"},{"class":15,"name":"Miscellaneous"},{"class":16,"name":"Glyph"}]}'
33
+ http_version: '1.1'
@@ -0,0 +1,29 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://us.battle.net:80/api/wow/item/12784
6
+ body:
7
+ headers:
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ date:
14
+ - Sun, 06 Nov 2011 01:06:08 GMT
15
+ server:
16
+ - Apache
17
+ x-frame-options:
18
+ - SAMEORIGIN
19
+ content-language:
20
+ - en-US
21
+ content-length:
22
+ - '726'
23
+ vary:
24
+ - Accept-Encoding
25
+ content-type:
26
+ - application/json;charset=utf-8
27
+ body: ! '{"id":12784,"disenchantingSkillRank":225,"description":"","name":"Arcanite
28
+ Reaper","icon":"inv_axe_09","stackable":1,"itemBind":2,"bonusStats":[{"stat":38,"amount":62,"reforged":false},{"stat":7,"amount":13,"reforged":false}],"itemSpells":[],"buyPrice":328683,"itemClass":2,"itemSubClass":1,"containerSlots":0,"weaponInfo":{"damage":{"min":153,"max":256},"weaponSpeed":3.8,"dps":53.81579},"inventoryType":17,"equippable":true,"itemLevel":63,"maxCount":0,"maxDurability":100,"minFactionId":0,"minReputation":0,"quality":3,"sellPrice":65736,"requiredSkill":0,"requiredLevel":58,"requiredSkillRank":0,"itemSource":{"sourceId":16994,"sourceType":"CREATED_BY_SPELL"},"baseArmor":0,"hasSockets":false,"isAuctionable":true,"armor":0}'
29
+ http_version: '1.1'
@@ -0,0 +1,69 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://us.battle.net:80/api/wow/realm/status
6
+ body:
7
+ headers:
8
+ response: !ruby/struct:VCR::Response
9
+ status: !ruby/struct:VCR::ResponseStatus
10
+ code: 200
11
+ message: OK
12
+ headers:
13
+ date:
14
+ - Sun, 06 Nov 2011 00:55:11 GMT
15
+ server:
16
+ - Apache
17
+ x-frame-options:
18
+ - SAMEORIGIN
19
+ content-language:
20
+ - en-US
21
+ vary:
22
+ - Accept-Encoding
23
+ transfer-encoding:
24
+ - chunked
25
+ content-type:
26
+ - application/json;charset=utf-8
27
+ body: ! '{"realms":[{"type":"pvp","queue":false,"status":true,"population":"low","name":"Aegwynn","battlegroup":"Vengeance","slug":"aegwynn"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Aerie
28
+ Peak","battlegroup":"Nightfall","slug":"aerie-peak"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Agamaggan","battlegroup":"Shadowburn","slug":"agamaggan"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Aggramar","battlegroup":"Vindication","slug":"aggramar"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Akama","battlegroup":"Vengeance","slug":"akama"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Alexstrasza","battlegroup":"Rampage","slug":"alexstrasza"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Alleria","battlegroup":"Rampage","slug":"alleria"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Altar
29
+ of Storms","battlegroup":"Nightfall","slug":"altar-of-storms"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Alterac
30
+ Mountains","battlegroup":"Nightfall","slug":"alterac-mountains"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Aman''Thul","battlegroup":"Bloodlust","slug":"amanthul"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Andorhal","battlegroup":"Stormstrike","slug":"andorhal"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Anetheron","battlegroup":"Stormstrike","slug":"anetheron"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Antonidas","battlegroup":"Emberstorm","slug":"antonidas"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Anub''arak","battlegroup":"Whirlwind","slug":"anubarak"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Anvilmar","battlegroup":"Nightfall","slug":"anvilmar"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Arathor","battlegroup":"Reckoning","slug":"arathor"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Archimonde","battlegroup":"Stormstrike","slug":"archimonde"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Area
31
+ 52","battlegroup":"Retaliation","slug":"area-52"},{"type":"rp","queue":false,"status":true,"population":"high","name":"Argent
32
+ Dawn","battlegroup":"Ruin","slug":"argent-dawn"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Arthas","battlegroup":"Ruin","slug":"arthas"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Arygos","battlegroup":"Nightfall","slug":"arygos"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Auchindoun","battlegroup":"Retaliation","slug":"auchindoun"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Azgalor","battlegroup":"Ruin","slug":"azgalor"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Azjol-Nerub","battlegroup":"Cyclone","slug":"azjolnerub"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Azshara","battlegroup":"Shadowburn","slug":"azshara"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Azuremyst","battlegroup":"Retaliation","slug":"azuremyst"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Baelgun","battlegroup":"Shadowburn","slug":"baelgun"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Balnazzar","battlegroup":"Rampage","slug":"balnazzar"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Barthilas","battlegroup":"Bloodlust","slug":"barthilas"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Black
33
+ Dragonflight","battlegroup":"Stormstrike","slug":"black-dragonflight"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Blackhand","battlegroup":"Rampage","slug":"blackhand"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Blackrock","battlegroup":"Bloodlust","slug":"blackrock"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Blackwater
34
+ Raiders","battlegroup":"Whirlwind","slug":"blackwater-raiders"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Blackwing
35
+ Lair","battlegroup":"Nightfall","slug":"blackwing-lair"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Blade''s
36
+ Edge","battlegroup":"Retaliation","slug":"blades-edge"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Bladefist","battlegroup":"Whirlwind","slug":"bladefist"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Bleeding
37
+ Hollow","battlegroup":"Ruin","slug":"bleeding-hollow"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Blood
38
+ Furnace","battlegroup":"Retaliation","slug":"blood-furnace"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Bloodhoof","battlegroup":"Ruin","slug":"bloodhoof"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Bloodscalp","battlegroup":"Cyclone","slug":"bloodscalp"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Bonechewer","battlegroup":"Reckoning","slug":"bonechewer"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Borean
39
+ Tundra","battlegroup":"Emberstorm","slug":"borean-tundra"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Boulderfist","battlegroup":"Cyclone","slug":"boulderfist"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Bronzebeard","battlegroup":"Cyclone","slug":"bronzebeard"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Burning
40
+ Blade","battlegroup":"Vindication","slug":"burning-blade"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Burning
41
+ Legion","battlegroup":"Vindication","slug":"burning-legion"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Caelestrasz","battlegroup":"Bloodlust","slug":"caelestrasz"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Cairne","battlegroup":"Emberstorm","slug":"cairne"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Cenarion
42
+ Circle","battlegroup":"Whirlwind","slug":"cenarion-circle"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Cenarius","battlegroup":"Whirlwind","slug":"cenarius"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Cho''gall","battlegroup":"Rampage","slug":"chogall"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Chromaggus","battlegroup":"Vengeance","slug":"chromaggus"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Coilfang","battlegroup":"Retaliation","slug":"coilfang"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Crushridge","battlegroup":"Cyclone","slug":"crushridge"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Daggerspine","battlegroup":"Cyclone","slug":"daggerspine"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Dalaran","battlegroup":"Stormstrike","slug":"dalaran"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Dalvengyr","battlegroup":"Stormstrike","slug":"dalvengyr"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Dark
43
+ Iron","battlegroup":"Shadowburn","slug":"dark-iron"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Darkspear","battlegroup":"Cyclone","slug":"darkspear"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Darrowmere","battlegroup":"Whirlwind","slug":"darrowmere"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Dath''Remar","battlegroup":"Bloodlust","slug":"dathremar"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Dawnbringer","battlegroup":"Retaliation","slug":"dawnbringer"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Deathwing","battlegroup":"Nightfall","slug":"deathwing"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Demon
44
+ Soul","battlegroup":"Nightfall","slug":"demon-soul"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Dentarg","battlegroup":"Stormstrike","slug":"dentarg"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Destromath","battlegroup":"Rampage","slug":"destromath"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Dethecus","battlegroup":"Rampage","slug":"dethecus"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Detheroc","battlegroup":"Shadowburn","slug":"detheroc"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Doomhammer","battlegroup":"Nightfall","slug":"doomhammer"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Draenor","battlegroup":"Cyclone","slug":"draenor"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Dragonblight","battlegroup":"Cyclone","slug":"dragonblight"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Dragonmaw","battlegroup":"Reckoning","slug":"dragonmaw"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Drak''Tharon","battlegroup":"Emberstorm","slug":"draktharon"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Drak''thul","battlegroup":"Vengeance","slug":"drakthul"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Draka","battlegroup":"Vengeance","slug":"draka"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Drakkari","battlegroup":"Vindication","slug":"drakkari"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Dreadmaul","battlegroup":"Bloodlust","slug":"dreadmaul"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Drenden","battlegroup":"Emberstorm","slug":"drenden"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Dunemaul","battlegroup":"Cyclone","slug":"dunemaul"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Durotan","battlegroup":"Ruin","slug":"durotan"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Duskwood","battlegroup":"Stormstrike","slug":"duskwood"},{"type":"rp","queue":false,"status":true,"population":"high","name":"Earthen
45
+ Ring","battlegroup":"Vindication","slug":"earthen-ring"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Echo
46
+ Isles","battlegroup":"Whirlwind","slug":"echo-isles"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Eitrigg","battlegroup":"Vengeance","slug":"eitrigg"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Eldre''Thalas","battlegroup":"Reckoning","slug":"eldrethalas"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Elune","battlegroup":"Ruin","slug":"elune"},{"type":"rppvp","queue":false,"status":true,"population":"high","name":"Emerald
47
+ Dream","battlegroup":"Shadowburn","slug":"emerald-dream"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Eonar","battlegroup":"Vindication","slug":"eonar"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Eredar","battlegroup":"Vindication","slug":"eredar"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Executus","battlegroup":"Stormstrike","slug":"executus"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Exodar","battlegroup":"Retaliation","slug":"exodar"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Farstriders","battlegroup":"Emberstorm","slug":"farstriders"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Feathermoon","battlegroup":"Cyclone","slug":"feathermoon"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Fenris","battlegroup":"Whirlwind","slug":"fenris"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Firetree","battlegroup":"Reckoning","slug":"firetree"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Fizzcrank","battlegroup":"Retaliation","slug":"fizzcrank"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Frostmane","battlegroup":"Reckoning","slug":"frostmane"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Frostmourne","battlegroup":"Bloodlust","slug":"frostmourne"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Frostwolf","battlegroup":"Bloodlust","slug":"frostwolf"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Galakrond","battlegroup":"Retaliation","slug":"galakrond"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Garithos","battlegroup":"Vengeance","slug":"garithos"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Garona","battlegroup":"Rampage","slug":"garona"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Garrosh","battlegroup":"Emberstorm","slug":"garrosh"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Ghostlands","battlegroup":"Retaliation","slug":"ghostlands"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Gilneas","battlegroup":"Vindication","slug":"gilneas"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Gnomeregan","battlegroup":"Nightfall","slug":"gnomeregan"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Gorefiend","battlegroup":"Vindication","slug":"gorefiend"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Gorgonnash","battlegroup":"Rampage","slug":"gorgonnash"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Greymane","battlegroup":"Shadowburn","slug":"greymane"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Grizzly
48
+ Hills","battlegroup":"Retaliation","slug":"grizzly-hills"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Gul''dan","battlegroup":"Rampage","slug":"guldan"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Gundrak","battlegroup":"Vengeance","slug":"gundrak"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Gurubashi","battlegroup":"Reckoning","slug":"gurubashi"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Hakkar","battlegroup":"Vengeance","slug":"hakkar"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Haomarush","battlegroup":"Stormstrike","slug":"haomarush"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Hellscream","battlegroup":"Rampage","slug":"hellscream"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Hydraxis","battlegroup":"Emberstorm","slug":"hydraxis"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Hyjal","battlegroup":"Whirlwind","slug":"hyjal"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Icecrown","battlegroup":"Nightfall","slug":"icecrown"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Illidan","battlegroup":"Rampage","slug":"illidan"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Jaedenar","battlegroup":"Nightfall","slug":"jaedenar"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Jubei''Thos","battlegroup":"Vengeance","slug":"jubeithos"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Kael''thas","battlegroup":"Rampage","slug":"kaelthas"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Kalecgos","battlegroup":"Shadowburn","slug":"kalecgos"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Kargath","battlegroup":"Vindication","slug":"kargath"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Kel''Thuzad","battlegroup":"Nightfall","slug":"kelthuzad"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Khadgar","battlegroup":"Stormstrike","slug":"khadgar"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Khaz
49
+ Modan","battlegroup":"Vengeance","slug":"khaz-modan"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Khaz''goroth","battlegroup":"Bloodlust","slug":"khazgoroth"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Kil''jaeden","battlegroup":"Bloodlust","slug":"kiljaeden"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Kilrogg","battlegroup":"Bloodlust","slug":"kilrogg"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Kirin
50
+ Tor","battlegroup":"Rampage","slug":"kirin-tor"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Korgath","battlegroup":"Vengeance","slug":"korgath"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Korialstrasz","battlegroup":"Whirlwind","slug":"korialstrasz"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Kul
51
+ Tiras","battlegroup":"Vengeance","slug":"kul-tiras"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Laughing
52
+ Skull","battlegroup":"Vindication","slug":"laughing-skull"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Lethon","battlegroup":"Nightfall","slug":"lethon"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Lightbringer","battlegroup":"Whirlwind","slug":"lightbringer"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Lightning''s
53
+ Blade","battlegroup":"Vindication","slug":"lightnings-blade"},{"type":"rppvp","queue":false,"status":true,"population":"medium","name":"Lightninghoof","battlegroup":"Shadowburn","slug":"lightninghoof"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Llane","battlegroup":"Vindication","slug":"llane"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Lothar","battlegroup":"Ruin","slug":"lothar"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Madoran","battlegroup":"Ruin","slug":"madoran"},{"type":"rppvp","queue":false,"status":true,"population":"medium","name":"Maelstrom","battlegroup":"Shadowburn","slug":"maelstrom"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Magtheridon","battlegroup":"Ruin","slug":"magtheridon"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Maiev","battlegroup":"Whirlwind","slug":"maiev"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Mal''Ganis","battlegroup":"Stormstrike","slug":"malganis"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Malfurion","battlegroup":"Shadowburn","slug":"malfurion"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Malorne","battlegroup":"Vengeance","slug":"malorne"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Malygos","battlegroup":"Vindication","slug":"malygos"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Mannoroth","battlegroup":"Ruin","slug":"mannoroth"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Medivh","battlegroup":"Ruin","slug":"medivh"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Misha","battlegroup":"Whirlwind","slug":"misha"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Mok''Nathal","battlegroup":"Emberstorm","slug":"moknathal"},{"type":"rp","queue":false,"status":true,"population":"high","name":"Moon
54
+ Guard","battlegroup":"Emberstorm","slug":"moon-guard"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Moonrunner","battlegroup":"Shadowburn","slug":"moonrunner"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Mug''thol","battlegroup":"Vengeance","slug":"mugthol"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Muradin","battlegroup":"Vengeance","slug":"muradin"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Nagrand","battlegroup":"Bloodlust","slug":"nagrand"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Nathrezim","battlegroup":"Reckoning","slug":"nathrezim"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Nazgrel","battlegroup":"Emberstorm","slug":"nazgrel"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Nazjatar","battlegroup":"Shadowburn","slug":"nazjatar"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Ner''zhul","battlegroup":"Bloodlust","slug":"nerzhul"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Nesingwary","battlegroup":"Emberstorm","slug":"nesingwary"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Nordrassil","battlegroup":"Emberstorm","slug":"nordrassil"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Norgannon","battlegroup":"Stormstrike","slug":"norgannon"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Onyxia","battlegroup":"Nightfall","slug":"onyxia"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Perenolde","battlegroup":"Cyclone","slug":"perenolde"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Proudmoore","battlegroup":"Bloodlust","slug":"proudmoore"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Quel''Thalas","battlegroup":"Vindication","slug":"quelthalas"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Quel''dorei","battlegroup":"Emberstorm","slug":"queldorei"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Ragnaros","battlegroup":"Vindication","slug":"ragnaros"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Ravencrest","battlegroup":"Rampage","slug":"ravencrest"},{"type":"rppvp","queue":false,"status":true,"population":"medium","name":"Ravenholdt","battlegroup":"Whirlwind","slug":"ravenholdt"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Rexxar","battlegroup":"Vengeance","slug":"rexxar"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Rivendare","battlegroup":"Emberstorm","slug":"rivendare"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Runetotem","battlegroup":"Vengeance","slug":"runetotem"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Sargeras","battlegroup":"Shadowburn","slug":"sargeras"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Saurfang","battlegroup":"Vengeance","slug":"saurfang"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Scarlet
55
+ Crusade","battlegroup":"Reckoning","slug":"scarlet-crusade"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Scilla","battlegroup":"Stormstrike","slug":"scilla"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Sen''jin","battlegroup":"Bloodlust","slug":"senjin"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Sentinels","battlegroup":"Nightfall","slug":"sentinels"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Shadow
56
+ Council","battlegroup":"Reckoning","slug":"shadow-council"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Shadowmoon","battlegroup":"Vindication","slug":"shadowmoon"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Shadowsong","battlegroup":"Reckoning","slug":"shadowsong"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Shandris","battlegroup":"Emberstorm","slug":"shandris"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Shattered
57
+ Halls","battlegroup":"Retaliation","slug":"shattered-halls"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Shattered
58
+ Hand","battlegroup":"Ruin","slug":"shattered-hand"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Shu''halo","battlegroup":"Whirlwind","slug":"shuhalo"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Silver
59
+ Hand","battlegroup":"Bloodlust","slug":"silver-hand"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Silvermoon","battlegroup":"Reckoning","slug":"silvermoon"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Sisters
60
+ of Elune","battlegroup":"Whirlwind","slug":"sisters-of-elune"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Skullcrusher","battlegroup":"Ruin","slug":"skullcrusher"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Skywall","battlegroup":"Reckoning","slug":"skywall"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Smolderthorn","battlegroup":"Reckoning","slug":"smolderthorn"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Spinebreaker","battlegroup":"Rampage","slug":"spinebreaker"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Spirestone","battlegroup":"Reckoning","slug":"spirestone"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Staghelm","battlegroup":"Shadowburn","slug":"staghelm"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Steamwheedle
61
+ Cartel","battlegroup":"Stormstrike","slug":"steamwheedle-cartel"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Stonemaul","battlegroup":"Cyclone","slug":"stonemaul"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Stormrage","battlegroup":"Ruin","slug":"stormrage"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Stormreaver","battlegroup":"Rampage","slug":"stormreaver"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Stormscale","battlegroup":"Cyclone","slug":"stormscale"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Suramar","battlegroup":"Cyclone","slug":"suramar"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Tanaris","battlegroup":"Nightfall","slug":"tanaris"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Terenas","battlegroup":"Reckoning","slug":"terenas"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Terokkar","battlegroup":"Retaliation","slug":"terokkar"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Thaurissan","battlegroup":"Bloodlust","slug":"thaurissan"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"The
62
+ Forgotten Coast","battlegroup":"Whirlwind","slug":"the-forgotten-coast"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"The
63
+ Scryers","battlegroup":"Retaliation","slug":"the-scryers"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"The
64
+ Underbog","battlegroup":"Retaliation","slug":"the-underbog"},{"type":"rppvp","queue":false,"status":true,"population":"low","name":"The
65
+ Venture Co","battlegroup":"Nightfall","slug":"the-venture-co"},{"type":"rp","queue":false,"status":true,"population":"medium","name":"Thorium
66
+ Brotherhood","battlegroup":"Vengeance","slug":"thorium-brotherhood"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Thrall","battlegroup":"Stormstrike","slug":"thrall"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Thunderhorn","battlegroup":"Vindication","slug":"thunderhorn"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Thunderlord","battlegroup":"Vindication","slug":"thunderlord"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Tichondrius","battlegroup":"Bloodlust","slug":"tichondrius"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Tortheldrin","battlegroup":"Emberstorm","slug":"tortheldrin"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Trollbane","battlegroup":"Ruin","slug":"trollbane"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Turalyon","battlegroup":"Stormstrike","slug":"turalyon"},{"type":"rppvp","queue":false,"status":true,"population":"medium","name":"Twisting
67
+ Nether","battlegroup":"Shadowburn","slug":"twisting-nether"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Uldaman","battlegroup":"Nightfall","slug":"uldaman"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Uldum","battlegroup":"Cyclone","slug":"uldum"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Undermine","battlegroup":"Nightfall","slug":"undermine"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Ursin","battlegroup":"Shadowburn","slug":"ursin"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Uther","battlegroup":"Whirlwind","slug":"uther"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Vashj","battlegroup":"Whirlwind","slug":"vashj"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Vek''nilash","battlegroup":"Bloodlust","slug":"veknilash"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Velen","battlegroup":"Retaliation","slug":"velen"},{"type":"pvp","queue":false,"status":true,"population":"high","name":"Warsong","battlegroup":"Ruin","slug":"warsong"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Whisperwind","battlegroup":"Rampage","slug":"whisperwind"},{"type":"pvp","queue":false,"status":true,"population":"medium","name":"Wildhammer","battlegroup":"Shadowburn","slug":"wildhammer"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Windrunner","battlegroup":"Reckoning","slug":"windrunner"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Winterhoof","battlegroup":"Whirlwind","slug":"winterhoof"},{"type":"rp","queue":false,"status":true,"population":"high","name":"Wyrmrest
68
+ Accord","battlegroup":"Emberstorm","slug":"wyrmrest-accord"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Ysera","battlegroup":"Stormstrike","slug":"ysera"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Ysondre","battlegroup":"Stormstrike","slug":"ysondre"},{"type":"pve","queue":false,"status":true,"population":"medium","name":"Zangarmarsh","battlegroup":"Retaliation","slug":"zangarmarsh"},{"type":"pve","queue":false,"status":true,"population":"high","name":"Zul''jin","battlegroup":"Ruin","slug":"zuljin"},{"type":"pvp","queue":false,"status":true,"population":"low","name":"Zuluhed","battlegroup":"Stormstrike","slug":"zuluhed"}]}'
69
+ http_version: '1.1'
@@ -0,0 +1,14 @@
1
+ require 'spec_helper'
2
+ require 'battlenet'
3
+
4
+ describe Battlenet::Arena do
5
+ let(:api) { Battlenet.new }
6
+
7
+ it "fetches arena data" do
8
+ VCR.use_cassette('arena_fun_and_profit') do
9
+ # Don't make fun of me >.<
10
+ arena = api.arena 'nazjatar', '2v2', 'Fun And Profit'
11
+ arena['sessionGamesPlayed'].should == 23
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,22 @@
1
+ # "{\r\n\"realm\":{\"name\":\"Nazjatar\",\"slug\":\"nazjatar\"},\r\n\"alliance\":{\"auctions\":[\r\n\t{\"auc\":1329311139,\"item\":42989,\"owner\":\"Price\",\"bid\":15000000,
2
+
3
+ require 'spec_helper'
4
+ require 'battlenet'
5
+
6
+ describe Battlenet::Auction do
7
+ let(:api) { Battlenet.new }
8
+
9
+ it "fetches auction data" do
10
+ VCR.use_cassette('auction_files') do
11
+ auction = api.auction 'nazjatar'
12
+ auction['files'].first['url'].should == "http://us.battle.net/auction-data/nazjatar/auctions.json"
13
+ end
14
+ end
15
+
16
+ it "fetches auction data" do
17
+ VCR.use_cassette('auction_data') do
18
+ data = api.auction_data 'nazjatar'
19
+ data["alliance"]["auctions"].first["item"].should == 42989
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,29 @@
1
+ # encoding: utf-8
2
+
3
+ require 'spec_helper'
4
+ require 'battlenet'
5
+
6
+ describe Battlenet::Character do
7
+ let(:api) { Battlenet.new }
8
+
9
+ it "fetches character data" do
10
+ VCR.use_cassette('character_mortawa') do
11
+ character = api.character 'nazjatar', 'mortawa'
12
+ character['level'].should == 85
13
+ end
14
+ end
15
+
16
+ it "fetches additional character data" do
17
+ VCR.use_cassette('character_mortawa_titles') do
18
+ character = api.character 'nazjatar', 'mortawa', :fields => 'titles'
19
+ character['titles'].find { |t| t['selected'] == true }['name'].should == "Twilight Vanquisher %s"
20
+ end
21
+ end
22
+
23
+ it "fetches characters with non-ASCII characters in their name" do
24
+ VCR.use_cassette('character_nonstandard_name') do
25
+ character = api.character 'nazjatar', 'Hikô'
26
+ character['level'].should == 85
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,41 @@
1
+ require 'spec_helper'
2
+ require 'battlenet'
3
+
4
+ describe Battlenet::Data do
5
+ let(:api) { Battlenet.new }
6
+
7
+ it "fetches character races data" do
8
+ VCR.use_cassette('character_races') do
9
+ data = api.character_races
10
+ data["races"].first["name"].should == "Dwarf"
11
+ end
12
+ end
13
+
14
+ it "fetches character classes data" do
15
+ VCR.use_cassette('character_classes') do
16
+ data = api.character_classes
17
+ data["classes"].first["name"].should == "Hunter"
18
+ end
19
+ end
20
+
21
+ it "fetches guild rewards data" do
22
+ VCR.use_cassette('guild_rewards') do
23
+ data = api.guild_rewards
24
+ data["rewards"].first["achievement"]["description"].should == "Craft 500 Epic items with an item level of at least 359."
25
+ end
26
+ end
27
+
28
+ it "fetches guild perks data" do
29
+ VCR.use_cassette('guild_perks') do
30
+ data = api.guild_perks
31
+ data["perks"].first["spell"]["name"].should == "Fast Track"
32
+ end
33
+ end
34
+
35
+ it "fetches item classes data" do
36
+ VCR.use_cassette('item_classes') do
37
+ data = api.item_classes
38
+ data["classes"].first["name"].should == "Consumable"
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+ require 'battlenet'
3
+
4
+ describe Battlenet::Guild do
5
+ let(:api) { Battlenet.new }
6
+
7
+ it "fetches guild data" do
8
+ VCR.use_cassette('guild_rl_bl') do
9
+ guild = api.guild 'nazjatar', 'RL BL'
10
+ guild['level'].should == 25
11
+ end
12
+ end
13
+
14
+ it "fetches additional guild data" do
15
+ VCR.use_cassette('guild_rl_bl_members') do
16
+ guild = api.guild 'nazjatar', 'rl bl', :fields => 'members'
17
+ guild['members'].find { |c| c["character"]["name"] == "Cyaga" }.fetch("rank").should == 1
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,13 @@
1
+ require 'spec_helper'
2
+ require 'battlenet'
3
+
4
+ describe Battlenet::Item do
5
+ let(:api) { Battlenet.new }
6
+
7
+ it "fetches item data" do
8
+ VCR.use_cassette('item_hooooooooooo') do
9
+ item = api.item '12784'
10
+ item['name'].should == "Arcanite Reaper"
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,23 @@
1
+ # encoding: utf-8
2
+
3
+ require 'spec_helper'
4
+ require 'battlenet'
5
+
6
+ describe Battlenet do
7
+ let(:api) { Battlenet.new }
8
+
9
+ before(:each) do
10
+ Battlenet.locale = "es_ES"
11
+ end
12
+
13
+ after(:each) do
14
+ Battlenet.locale = nil
15
+ end
16
+
17
+ it "localizes data" do
18
+ VCR.use_cassette('character_mortawa_es') do
19
+ character = api.character 'nazjatar', 'mortawa', :fields => 'talents'
20
+ character["talents"].first["glyphs"]["prime"].first["name"].should == "Glifo de Golpe con runa"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,15 @@
1
+ # encoding: utf-8
2
+
3
+ require 'spec_helper'
4
+ require 'battlenet'
5
+
6
+ describe Battlenet::Realm do
7
+ let(:api) { Battlenet.new }
8
+
9
+ it "fetches realm data" do
10
+ VCR.use_cassette('realm') do
11
+ realm = api.realm
12
+ realm['realms'].find { |r| r['name'] == 'Nazjatar' }['population'].should == 'low'
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,7 @@
1
+ require 'timecop'
2
+ require 'vcr'
3
+
4
+ VCR.config do |c|
5
+ c.cassette_library_dir = "spec/fixtures/cassettes"
6
+ c.stub_with :webmock
7
+ end
@@ -0,0 +1,31 @@
1
+ require 'spec_helper'
2
+ require 'battlenet/authentication'
3
+
4
+ describe Battlenet::Authentication do
5
+ let(:auth) { Battlenet::Authentication.new 'private' }
6
+
7
+ before(:each) do
8
+ time = Time.local 2011, 11, 4, 20, 36, 24
9
+ Timecop.freeze(time)
10
+ end
11
+
12
+ after(:each) do
13
+ Timecop.return
14
+ end
15
+
16
+ context "#sign" do
17
+ it "signs the request" do
18
+ signed = auth.sign :get, '/api/wow/test', Time.now
19
+ signed.should == "7PaeI8+WiIMxdodL+aZz+6bA2sc=\n"
20
+ end
21
+ end
22
+
23
+ context "#string_to_sign" do
24
+ it "contains the verb, time, and path" do
25
+ string = auth.string_to_sign :get, '/test', Time.now
26
+ string.should =~ /GET/
27
+ string.should =~ /Sat, 05 Nov 2011 03:36:24 GMT/
28
+ string.should =~ /\/test/
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,158 @@
1
+ require 'spec_helper'
2
+ require 'battlenet'
3
+ require 'battlenet/authentication'
4
+
5
+ describe Battlenet do
6
+ before(:each) do
7
+ response = mock(:response).as_null_object
8
+ response.stub(:code).and_return(200)
9
+ Battlenet.stub(:get).and_return(response)
10
+ end
11
+
12
+ context "#initialize" do
13
+ it "sets the domain based on the region" do
14
+ api = Battlenet.new :us
15
+ api.instance_variable_get(:@base_uri).should =~ /us.battle.net/
16
+
17
+ api = Battlenet.new :eu
18
+ api.instance_variable_get(:@base_uri).should =~ /eu.battle.net/
19
+
20
+ api = Battlenet.new :cn
21
+ api.instance_variable_get(:@base_uri).should =~ /battlenet.com.cn/
22
+ end
23
+
24
+ it "raises an error when an invalid region is given" do
25
+ lambda {
26
+ api = Battlenet.new :fake
27
+ }.should raise_error
28
+ end
29
+
30
+ it "sets the protocol based on public/private key status" do
31
+ api = Battlenet.new :us
32
+ api.instance_variable_get(:@base_uri).should =~ /http:\/\//
33
+
34
+ api = Battlenet.new :us, 'public', 'private'
35
+ api.instance_variable_get(:@base_uri).should =~ /https:\/\//
36
+ end
37
+ end
38
+
39
+ context "#fullpath" do
40
+ it "returns the full path for the resource" do
41
+ api = Battlenet.new
42
+ api.instance_variable_set(:@endpoint, "/test/testing")
43
+ api.fullpath("/thetest").should == "/test/testing/thetest"
44
+ end
45
+ end
46
+
47
+ context "#get" do
48
+ let(:api) { Battlenet.new :us }
49
+
50
+ it "delegates to #make_request" do
51
+ api.should_receive(:make_request).with(:get, '/test', {})
52
+ api.get '/test'
53
+ end
54
+ end
55
+
56
+ context "#make_request" do
57
+ let(:api) { Battlenet.new :us }
58
+
59
+ it "delegates to HTTParty" do
60
+ Battlenet.should_receive(:get).with('/test', {})
61
+ api.make_request :get, '/test'
62
+ end
63
+
64
+ it "passes query string parameters to HTTParty" do
65
+ Battlenet.should_receive(:get).with('/test', {:query => {:fields => 'talents'}})
66
+ api.make_request :get, '/test', :fields => 'talents'
67
+ end
68
+
69
+ context "when the locale is set" do
70
+ before(:each) do
71
+ Battlenet.locale = "es_ES"
72
+ end
73
+
74
+ after(:each) do
75
+ Battlenet.locale = nil
76
+ end
77
+
78
+ it "adds the locale parameter to the query string" do
79
+ Battlenet.should_receive(:get).with('/test', {:query => {:fields => 'talents', :locale => 'es_ES'}})
80
+ api.make_request :get, '/test', :fields => 'talents'
81
+ end
82
+ end
83
+
84
+ context "when the public and private key are set" do
85
+ let(:api) { Battlenet.new :us, 'public', 'private' }
86
+
87
+ before(:each) do
88
+ Timecop.freeze
89
+ end
90
+
91
+ after(:each) do
92
+ Timecop.return
93
+ end
94
+
95
+ it "signs the request if the public and private key are present" do
96
+ api.should_receive(:sign_request).with(:get, '/test', Time.now)
97
+ api.make_request :get, '/test'
98
+ end
99
+
100
+ it "sets the Authorization and Date headers" do
101
+ Battlenet::Authentication.any_instance.stub(:sign).and_return("signature")
102
+ Battlenet.should_receive(:get).with('/test', :headers => { "Authorization" => "BNET public:signature", "Date" => Time.now.httpdate })
103
+ api.make_request :get, '/test'
104
+ end
105
+ end
106
+
107
+ context "when the response does not have a 200 status code" do
108
+ before(:each) do
109
+ response = mock(:response).as_null_object
110
+ response.should_receive(:code).at_least(:once).and_return(500)
111
+ Battlenet.should_receive(:get).and_return(response)
112
+ end
113
+
114
+ context "when fail_silently is off" do
115
+ before(:each) do
116
+ Battlenet.fail_silently = false
117
+ end
118
+
119
+ it "throws an exception" do
120
+ lambda {
121
+ api.get '/test'
122
+ }.should raise_error
123
+ end
124
+ end
125
+
126
+ context "when fail_silently is on" do
127
+ before(:each) do
128
+ Battlenet.fail_silently = true
129
+ end
130
+
131
+ it "throws an exception" do
132
+ lambda {
133
+ api.get '/test'
134
+ }.should_not raise_error
135
+ end
136
+ end
137
+ end
138
+ end
139
+
140
+ context "#sign_request" do
141
+ let(:api) { Battlenet.new :us, 'public', 'private' }
142
+
143
+ before(:each) do
144
+ Timecop.freeze
145
+ end
146
+
147
+ after(:each) do
148
+ Timecop.return
149
+ end
150
+
151
+ it "delegates to a Battlenet::Authentication" do
152
+ auth = mock(:auth)
153
+ Battlenet::Authentication.should_receive(:new).with('private').and_return(auth)
154
+ auth.should_receive(:sign).with(:get, api.fullpath('/test'), Time.now)
155
+ api.sign_request :get, '/test', Time.now
156
+ end
157
+ end
158
+ end