wot_api 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/Rakefile +1 -1
  4. data/lib/wot_api/base.rb +16 -4
  5. data/lib/wot_api/version.rb +1 -1
  6. data/spec/base_spec.rb +16 -0
  7. data/spec/fixtures/account_achievements.json +5 -5
  8. data/spec/fixtures/account_info.json +5 -5
  9. data/spec/fixtures/account_list.json +5 -5
  10. data/spec/fixtures/account_tanks.json +5 -5
  11. data/spec/fixtures/clan_info.json +5 -5
  12. data/spec/fixtures/clan_list.json +5 -5
  13. data/spec/fixtures/clan_membersinfo.json +3 -3
  14. data/spec/fixtures/clan_provinces.json +3 -3
  15. data/spec/fixtures/clan_top.json +5 -6
  16. data/spec/fixtures/clanratings_clans.json +12 -0
  17. data/spec/fixtures/clanratings_dates.json +12 -0
  18. data/spec/fixtures/clanratings_neighbors.json +12 -0
  19. data/spec/fixtures/clanratings_top.json +13 -0
  20. data/spec/fixtures/clanratings_types.json +13 -0
  21. data/spec/fixtures/encyclopedia_achievements.json +5 -5
  22. data/spec/fixtures/encyclopedia_arenas.json +13 -0
  23. data/spec/fixtures/encyclopedia_info.json +13 -0
  24. data/spec/fixtures/encyclopedia_tankchassis.json +5 -5
  25. data/spec/fixtures/encyclopedia_tankengines.json +5 -5
  26. data/spec/fixtures/encyclopedia_tankguns.json +5 -5
  27. data/spec/fixtures/encyclopedia_tankinfo.json +5 -5
  28. data/spec/fixtures/encyclopedia_tankradios.json +5 -5
  29. data/spec/fixtures/encyclopedia_tanks.json +5 -5
  30. data/spec/fixtures/encyclopedia_tankturrets.json +5 -5
  31. data/spec/fixtures/endpoints.yml +24 -5
  32. data/spec/fixtures/globalwar_alleyoffame.json +12 -0
  33. data/spec/fixtures/{clan_battles.json → globalwar_battles.json} +3 -3
  34. data/spec/fixtures/globalwar_clans.json +5 -5
  35. data/spec/fixtures/globalwar_famepoints.json +3 -3
  36. data/spec/fixtures/globalwar_famepointshistory.json +11 -0
  37. data/spec/fixtures/globalwar_maps.json +5 -5
  38. data/spec/fixtures/globalwar_provinces.json +5 -5
  39. data/spec/fixtures/globalwar_top.json +5 -5
  40. data/spec/fixtures/globalwar_tournaments.json +3 -3
  41. data/spec/fixtures/{clan_victorypointshistory.json → globalwar_victorypointshistory.json} +3 -3
  42. data/spec/fixtures/ratings_accounts.json +4 -4
  43. data/spec/fixtures/ratings_dates.json +4 -4
  44. data/spec/fixtures/ratings_neighbors.json +4 -4
  45. data/spec/fixtures/ratings_top.json +5 -5
  46. data/spec/fixtures/ratings_types.json +5 -5
  47. data/spec/fixtures/tanks_achievements.json +5 -5
  48. data/spec/fixtures/tanks_stats.json +5 -5
  49. metadata +24 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3848e885ae27100115d5dc680fc7e324ab263a3
4
- data.tar.gz: fb68c14d09cbdeb8bf949098254f591964cca76a
3
+ metadata.gz: 3687dac762b83c0bdd715518c0c8ec9db4115fe7
4
+ data.tar.gz: dc8f1d1812689cb7f8394b7fa500134dfedf2bd4
5
5
  SHA512:
6
- metadata.gz: 0c57b498ddc1c262d9bf97d6912da17f6e7cffa4ba611b1e3f292a57706b7431966c172b02003fee6ed6e95623aa6179469f526a456068bd54d901961385de8e
7
- data.tar.gz: a16f470099150997d5e45251efe6994bf6556684683c2d2e63ab8c5d42fd54d35a3452e6eab47b6fd643cc9c86a9e36f9a011566d764c70e7294b34fc1cfaf7a
6
+ metadata.gz: 9cae4fb5fecb1cc2a66cc90a961a849a55b911816da130d7a9baa46093f9b65cefb1a7997bd9ce169e81e241bb2232db02086bb85988abc713ca3e61c906820e
7
+ data.tar.gz: 34875015ac1df5e62a521a3c4faaad4fd37283fd1c2e08fd1f29b3758b62036ecef2904bf1044749d7556e8909a5c6fc22f3dcfff60ba7e8f2571c20bd60a9f0
data/README.md CHANGED
@@ -28,7 +28,7 @@ Initialize the gem with your Application ID(s):
28
28
 
29
29
  WotApi::Base.config({na: '123456'})
30
30
 
31
- The available regions are: na, ru, eu, asia, kr
31
+ The available regions are: :na, :ru, :eu, :asia, :kr
32
32
 
33
33
  The first region specified becomes the default if no region is specified in endpoint method arguments.
34
34
 
@@ -43,7 +43,7 @@ Along with a yaml file, config/wot_api.yml:
43
43
 
44
44
  Call endpoints like such:
45
45
 
46
- WotApi::Base.account_list(search: 'tank', region: 'ru')
46
+ WotApi::Base.account_list(search: 'tank', region: :ru)
47
47
 
48
48
  Will return an array or hash with the results, or throw an error with a message on a failure.
49
49
 
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ namespace :wotapi do
19
19
  WotApi::Base::ENDPOINTS.select{|e| e == endpoint || endpoint == 'all' }.each do |path|
20
20
  pathname = WotApi::Base.pathname(path)
21
21
  data = endpoints[path].merge({application_id: application_id}).map{|k,v| "#{k}=#{v}"}.join('&')
22
- execute = "curl -is --data \"#{data}\" #{WotApi::Base.base_uri}#{path} > spec/fixtures/#{pathname}.json"
22
+ execute = "curl -is --data \"#{data}\" #{WotApi::Base::REGIONS[:na]}#{path} > spec/fixtures/#{pathname}.json"
23
23
  STDOUT.puts execute
24
24
  STDOUT.puts `#{execute}`
25
25
  end
data/lib/wot_api/base.rb CHANGED
@@ -12,10 +12,8 @@ module WotApi
12
12
  '/wot/account/achievements/',
13
13
  '/wot/clan/list/',
14
14
  '/wot/clan/info/',
15
- '/wot/clan/battles/',
16
15
  '/wot/clan/top/',
17
16
  '/wot/clan/provinces/',
18
- '/wot/clan/victorypointshistory/',
19
17
  '/wot/clan/membersinfo/',
20
18
  '/wot/globalwar/clans/',
21
19
  '/wot/globalwar/famepoints/',
@@ -23,6 +21,9 @@ module WotApi
23
21
  '/wot/globalwar/provinces/',
24
22
  '/wot/globalwar/top/',
25
23
  '/wot/globalwar/tournaments/',
24
+ '/wot/globalwar/alleyoffame/',
25
+ '/wot/globalwar/battles/',
26
+ '/wot/globalwar/victorypointshistory/',
26
27
  '/wot/encyclopedia/tanks/',
27
28
  '/wot/encyclopedia/tankinfo/',
28
29
  '/wot/encyclopedia/tankengines/',
@@ -31,11 +32,18 @@ module WotApi
31
32
  '/wot/encyclopedia/tankchassis/',
32
33
  '/wot/encyclopedia/tankguns/',
33
34
  '/wot/encyclopedia/achievements/',
35
+ '/wot/encyclopedia/info/',
36
+ '/wot/encyclopedia/arenas/',
34
37
  '/wot/ratings/types/',
38
+ '/wot/ratings/dates/',
35
39
  '/wot/ratings/accounts/',
36
40
  '/wot/ratings/neighbors/',
37
41
  '/wot/ratings/top/',
38
- '/wot/ratings/dates/',
42
+ '/wot/clanratings/types/',
43
+ '/wot/clanratings/dates/',
44
+ '/wot/clanratings/clans/',
45
+ '/wot/clanratings/neighbors/',
46
+ '/wot/clanratings/top/',
39
47
  '/wot/tanks/stats/',
40
48
  '/wot/tanks/achievements/'
41
49
  ]
@@ -85,10 +93,14 @@ module WotApi
85
93
  params.merge({application_id: application_id})
86
94
  end
87
95
 
96
+ def merged_post(endpoint, params={})
97
+ WotApi::Base.post(endpoint, body: merged_params(params))
98
+ end
99
+
88
100
  ENDPOINTS.each do |endpoint|
89
101
  define_method WotApi::Base.pathname(endpoint) do |params = {}|
90
102
  begin
91
- response = WotApi::Base.post(endpoint, body: merged_params(params))
103
+ response = merged_post(endpoint, params)
92
104
  rescue
93
105
  raise
94
106
  end
@@ -1,3 +1,3 @@
1
1
  module WotApi
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
data/spec/base_spec.rb CHANGED
@@ -40,6 +40,22 @@ describe WotApi::Base do
40
40
  end
41
41
  end
42
42
 
43
+ describe ".merged_post" do
44
+ it "calls WotApi::Base.post with endpont and merged_params output" do
45
+ params1 = {random: 'hash'}
46
+ params2 = {misc: 'data'}
47
+ endpoint = '/test/endpoint/'
48
+ expect(WotApi::Base).to receive(:merged_params).with(params1).and_return(params2)
49
+ expect(WotApi::Base).to receive(:post).with(endpoint, {body: params2})
50
+ WotApi::Base.merged_post(endpoint, params1)
51
+ end
52
+ it "has default empty hash for params" do
53
+ expect(WotApi::Base).to receive(:merged_params).with({}).and_return({})
54
+ allow(WotApi::Base).to receive(:post)
55
+ WotApi::Base.merged_post('/test/nothing')
56
+ end
57
+ end
58
+
43
59
  describe ".config" do
44
60
  context "with a valid config" do
45
61
  it "creates hash of regions with base_uri and application_id" do
@@ -1,12 +1,12 @@
1
1
  HTTP/1.1 200 OK
2
2
  Server: nginx
3
- Date: Thu, 29 May 2014 02:16:08 GMT
3
+ Date: Thu, 20 Nov 2014 21:26:01 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
- Content-Length: 240
5
+ Content-Length: 428
6
6
  Connection: keep-alive
7
- X-Api-Version: 2.11.3
7
+ X-Api-Version: 2.15.2
8
8
  Content-Language: en
9
- Access-Control-Request-Method: GET, POST, HEAD
9
+ Access-Control-Request-Method: GET, POST
10
10
  Access-Control-Allow-Origin: *
11
11
 
12
- {"status":"ok","count":1,"data":{"1001407449":{"achievements":{"medalCarius":3,"invader":1,"titleSniper":1,"medalLavrinenko":4,"armorPiercer":1,"medalPoppel":4,"supporter":1,"medalKay":4,"medalAbrams":3,"medalLeClerc":3,"medalKnispel":4}}}}
12
+ {"status":"ok","count":1,"data":{"1001407449":{"achievements":{"titleSniper":15,"medalCarius":3,"invader":1,"medalLavrinenko":4,"armorPiercer":10,"medalPoppel":4,"medalKnispel":4,"medalKay":4,"medalAbrams":3,"medalLeClerc":3,"supporter":1},"frags":{"beasthunter":0,"sinai":0,"pattonValley":0},"max_series":{"armorPiercer":10,"titleSniper":15,"deathTrack":0,"invincible":2,"tacticalBreakthrough":0,"diehard":5,"handOfDeath":2}}}}
@@ -1,13 +1,13 @@
1
1
  HTTP/1.1 200 OK
2
2
  Server: nginx
3
- Date: Thu, 29 May 2014 02:16:07 GMT
3
+ Date: Thu, 20 Nov 2014 21:25:59 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
- Content-Length: 2476
5
+ Content-Length: 2544
6
6
  Connection: keep-alive
7
7
  Vary: Accept-Encoding
8
- X-Api-Version: 2.11.3
8
+ X-Api-Version: 2.15.2
9
9
  Content-Language: en
10
- Access-Control-Request-Method: GET, POST, HEAD
10
+ Access-Control-Request-Method: GET, POST
11
11
  Access-Control-Allow-Origin: *
12
12
 
13
- {"status":"ok","count":1,"data":{"1001407449":{"achievements":{"tank_expert_uk":0,"medal_dumitru":0,"invader":1,"medal_lehvaslaiho":0,"warrior":0,"medal_halonen":0,"medal_pascucci":0,"medal_orlik":0,"medal_brothers_in_arms":0,"mousebane":0,"tank_expert_france":0,"tank_expert_japan":0,"mechanic_engineer_ussr":0,"medal_bruno_pietro":0,"medal_delanglade":0,"lucky_devil":0,"defender":0,"armor_piercer":1,"medal_kay":4,"supporter":1,"mechanic_engineer":0,"steelwall":0,"max_sniper_series":15,"medal_knispel":4,"medal_boelter":0,"medal_ekins":0,"medal_heroes_of_rassenay":0,"medal_tamada_yoshio":0,"tank_expert_usa":0,"mechanic_engineer_germany":0,"max_piercing_series":10,"tank_expert":0,"iron_man":0,"medal_radley_walters":0,"kamikaze":0,"tank_expert_germany":0,"beasthunter":0,"sniper":0,"medal_tarczay":0,"medal_lavrinenko":4,"main_gun":0,"medal_oskin":0,"medal_burda":0,"medal_billotte":0,"huntsman":0,"hand_of_death":0,"medal_fadin":0,"medal_lafayette_pool":0,"max_killing_series":2,"tank_expert_china":0,"mechanic_engineer_usa":0,"medal_kolobanov":0,"patton_valley":0,"bombardier":0,"mechanic_engineer_france":0,"sniper2":0,"medal_abrams":3,"max_invincible_series":2,"medal_poppel":4,"medal_crucial_contribution":0,"raider":0,"max_diehard_series":5,"mechanic_engineer_uk":0,"invincible":0,"lumberjack":0,"sturdy":0,"title_sniper":1,"sinai":0,"diehard":0,"medal_carius":3,"medal_le_clerc":3,"tank_expert_ussr":0,"evileye":0,"mechanic_engineer_japan":0,"mechanic_engineer_china":0,"medal_nikolas":0,"scout":0},"statistics":{"clan":{"spotted":0,"hits":0,"battle_avg_xp":0,"draws":0,"wins":0,"losses":0,"capture_points":0,"battles":0,"damage_dealt":0,"hits_percents":0,"damage_received":0,"shots":0,"xp":0,"frags":0,"survived_battles":0,"dropped_capture_points":0},"all":{"spotted":117,"hits":1755,"battle_avg_xp":168,"draws":6,"wins":164,"losses":147,"capture_points":734,"battles":317,"damage_dealt":53840,"hits_percents":31,"damage_received":35285,"shots":5712,"xp":53177,"frags":230,"survived_battles":107,"dropped_capture_points":156},"company":{"spotted":0,"hits":0,"battle_avg_xp":0,"draws":0,"wins":0,"losses":0,"capture_points":0,"battles":0,"damage_dealt":0,"hits_percents":0,"damage_received":0,"shots":0,"xp":0,"frags":0,"survived_battles":0,"dropped_capture_points":0},"max_xp":772},"account_id":1001407449,"created_at":1318942098,"updated_at":1401154280,"private":null,"global_rating":2534,"last_battle_time":1384025959,"nickname":"abc","logout_at":1384025997}}}
13
+ {"status":"ok","count":1,"data":{"1001407449":{"achievements":null,"client_language":"en","statistics":{"clan":{"spotted":0,"avg_damage_assisted_track":0.0,"avg_damage_blocked":0.0,"direct_hits_received":0,"explosion_hits":0,"piercings_received":0,"piercings":0,"xp":0,"survived_battles":0,"hits_percents":0,"draws":0,"battles":0,"damage_received":0,"avg_damage_assisted":0.0,"frags":0,"dropped_capture_points":0,"avg_damage_assisted_radio":0.0,"capture_points":0,"base_xp":0,"hits":0,"battle_avg_xp":0,"wins":0,"losses":0,"damage_dealt":0,"no_damage_direct_hits_received":0,"shots":0,"explosion_hits_received":0,"tanking_factor":0.0},"all":{"spotted":117,"avg_damage_assisted_track":0.0,"avg_damage_blocked":0.0,"direct_hits_received":22,"explosion_hits":0,"piercings_received":21,"piercings":49,"xp":53177,"survived_battles":107,"hits_percents":31,"draws":6,"battles":317,"damage_received":35285,"avg_damage_assisted":0.0,"frags":230,"dropped_capture_points":156,"avg_damage_assisted_radio":0.0,"capture_points":734,"base_xp":2918,"hits":1755,"battle_avg_xp":168,"wins":164,"losses":147,"damage_dealt":53840,"no_damage_direct_hits_received":1,"shots":5712,"explosion_hits_received":1,"tanking_factor":0.0},"max_xp":772,"company":{"spotted":0,"avg_damage_assisted_track":0.0,"avg_damage_blocked":0.0,"direct_hits_received":0,"explosion_hits":0,"piercings_received":0,"piercings":0,"xp":0,"survived_battles":0,"hits_percents":0,"draws":0,"battles":0,"damage_received":0,"avg_damage_assisted":0.0,"frags":0,"dropped_capture_points":0,"avg_damage_assisted_radio":0.0,"capture_points":0,"base_xp":0,"hits":0,"battle_avg_xp":0,"wins":0,"losses":0,"damage_dealt":0,"no_damage_direct_hits_received":0,"shots":0,"explosion_hits_received":0,"tanking_factor":0.0},"historical":{"spotted":0,"avg_damage_assisted_track":0.0,"avg_damage_blocked":0.0,"direct_hits_received":0,"explosion_hits":0,"piercings_received":0,"piercings":0,"xp":0,"survived_battles":0,"hits_percents":0,"draws":0,"battles":0,"damage_received":0,"avg_damage_assisted":0.0,"frags":0,"dropped_capture_points":0,"avg_damage_assisted_radio":0.0,"capture_points":0,"base_xp":0,"hits":0,"battle_avg_xp":0,"wins":0,"losses":0,"damage_dealt":0,"no_damage_direct_hits_received":0,"shots":0,"explosion_hits_received":0,"tanking_factor":0.0},"frags":null,"max_damage":817,"max_damage_vehicle":6913},"account_id":1001407449,"last_battle_time":1384025959,"clan_id":null,"created_at":1318942098,"updated_at":1416345010,"private":null,"global_rating":2534,"logout_at":1384025997,"nickname":"abc"}}}
@@ -1,13 +1,13 @@
1
1
  HTTP/1.1 200 OK
2
2
  Server: nginx
3
- Date: Thu, 29 May 2014 02:16:07 GMT
3
+ Date: Thu, 20 Nov 2014 21:25:58 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
- Content-Length: 6650
5
+ Content-Length: 6050
6
6
  Connection: keep-alive
7
7
  Vary: Accept-Encoding
8
- X-Api-Version: 2.11.3
8
+ X-Api-Version: 2.15.2
9
9
  Content-Language: en
10
- Access-Control-Request-Method: GET, POST, HEAD
10
+ Access-Control-Request-Method: GET, POST
11
11
  Access-Control-Allow-Origin: *
12
12
 
13
- {"status":"ok","count":100,"data":[{"nickname":"abc","id":1001407449,"account_id":1001407449},{"nickname":"abc0","id":1008406637,"account_id":1008406637},{"nickname":"abc0001abc","id":1006760438,"account_id":1006760438},{"nickname":"abc001","id":1004003899,"account_id":1004003899},{"nickname":"abc002","id":1004017871,"account_id":1004017871},{"nickname":"Abc007","id":1000851929,"account_id":1000851929},{"nickname":"abc01","id":1001521332,"account_id":1001521332},{"nickname":"ABC0101","id":1007359255,"account_id":1007359255},{"nickname":"abc0123456789","id":1004737214,"account_id":1004737214},{"nickname":"abc01_hero","id":1005882335,"account_id":1005882335},{"nickname":"abc021011","id":1004698075,"account_id":1004698075},{"nickname":"abc0212","id":1008540658,"account_id":1008540658},{"nickname":"abc028677","id":1002888750,"account_id":1002888750},{"nickname":"abc0401222","id":1005086728,"account_id":1005086728},{"nickname":"abc0815","id":1000001452,"account_id":1000001452},{"nickname":"abc0921777","id":1000990900,"account_id":1000990900},{"nickname":"abc0925480914","id":1006923138,"account_id":1006923138},{"nickname":"abc1","id":1000774322,"account_id":1000774322},{"nickname":"abc10","id":1001055595,"account_id":1001055595},{"nickname":"abc100","id":1002883000,"account_id":1002883000},{"nickname":"abc101","id":1001423554,"account_id":1001423554},{"nickname":"abc10227","id":1002101666,"account_id":1002101666},{"nickname":"abc1046477589","id":1004707581,"account_id":1004707581},{"nickname":"abc11","id":1007227104,"account_id":1007227104},{"nickname":"abc112","id":1006480463,"account_id":1006480463},{"nickname":"abc12","id":1001739372,"account_id":1001739372},{"nickname":"abc12123","id":1002396288,"account_id":1002396288},{"nickname":"abc1212a","id":1003448735,"account_id":1003448735},{"nickname":"abc1212c","id":1003448741,"account_id":1003448741},{"nickname":"abc12132","id":1001058418,"account_id":1001058418},{"nickname":"abc122173","id":1001331892,"account_id":1001331892},{"nickname":"abc1225576485","id":1005704013,"account_id":1005704013},{"nickname":"abc123","id":1000021539,"account_id":1000021539},{"nickname":"abc1231","id":1007330932,"account_id":1007330932},{"nickname":"abc123123","id":1001759047,"account_id":1001759047},{"nickname":"abc123159","id":1001072237,"account_id":1001072237},{"nickname":"abc1233","id":1000857910,"account_id":1000857910},{"nickname":"abc123321","id":1001834078,"account_id":1001834078},{"nickname":"abc12333","id":1004352243,"account_id":1004352243},{"nickname":"abc1234","id":1000333385,"account_id":1000333385},{"nickname":"abc123411","id":1008007667,"account_id":1008007667},{"nickname":"abc123415","id":1001540102,"account_id":1001540102},{"nickname":"abc123423","id":1002283921,"account_id":1002283921},{"nickname":"abc1234321","id":1001426960,"account_id":1001426960},{"nickname":"abc12344555","id":1003047292,"account_id":1003047292},{"nickname":"abc12345","id":1000402976,"account_id":1000402976},{"nickname":"abc123456","id":1000349983,"account_id":1000349983},{"nickname":"abc1234566","id":1004398552,"account_id":1004398552},{"nickname":"abc1234567","id":1001422669,"account_id":1001422669},{"nickname":"ABC12345678","id":1006753637,"account_id":1006753637},{"nickname":"abc123456789","id":1000888288,"account_id":1000888288},{"nickname":"abc1234567890","id":1001091387,"account_id":1001091387},{"nickname":"abc1234567891010","id":1006139726,"account_id":1006139726},{"nickname":"abc123456789101112131416","id":1001002646,"account_id":1001002646},{"nickname":"abc12345678987654321","id":1006832140,"account_id":1006832140},{"nickname":"abc123456def_hero","id":1005748341,"account_id":1005748341},{"nickname":"abc123456_1","id":1005791028,"account_id":1005791028},{"nickname":"Abc123456__","id":1005974563,"account_id":1005974563},{"nickname":"abc12345abc","id":1007179317,"account_id":1007179317},{"nickname":"abc12345abc6","id":1007179505,"account_id":1007179505},{"nickname":"abc12345abc7","id":1007179526,"account_id":1007179526},{"nickname":"abc12345d","id":1003141813,"account_id":1003141813},{"nickname":"abc12345_2013","id":1005716676,"account_id":1005716676},{"nickname":"abc12345_destroyer","id":1006828186,"account_id":1006828186},{"nickname":"abc1234d","id":1003090973,"account_id":1003090973},{"nickname":"abc1237706","id":1007357565,"account_id":1007357565},{"nickname":"ABC123789","id":1002646856,"account_id":1002646856},{"nickname":"abc12389","id":1004207401,"account_id":1004207401},{"nickname":"abc123abc","id":1000629261,"account_id":1000629261},{"nickname":"abc123abc123","id":1002009935,"account_id":1002009935},{"nickname":"abc123abc300","id":1005991782,"account_id":1005991782},{"nickname":"abc123abc321","id":1001318220,"account_id":1001318220},{"nickname":"ABC123ACB","id":1002935279,"account_id":1002935279},{"nickname":"abc123aj","id":1000809383,"account_id":1000809383},{"nickname":"abc123BBUNME","id":1000796459,"account_id":1000796459},{"nickname":"abc123bds","id":1004298830,"account_id":1004298830},{"nickname":"abc123cba321","id":1005876228,"account_id":1005876228},{"nickname":"ABC123DARKNE55","id":1002588845,"account_id":1002588845},{"nickname":"abc123def","id":1007840029,"account_id":1007840029},{"nickname":"abc123def456","id":1001015965,"account_id":1001015965},{"nickname":"abc123def456ghi789","id":1001046074,"account_id":1001046074},{"nickname":"abc123def456ghi789jkl","id":1000466156,"account_id":1000466156},{"nickname":"abc123def456ghi789jkl101","id":1001045166,"account_id":1001045166},{"nickname":"abc123dorame","id":1001134078,"account_id":1001134078},{"nickname":"abc123doremi","id":1005005726,"account_id":1005005726},{"nickname":"ABC123Gaming","id":1005748565,"account_id":1005748565},{"nickname":"abc123gilmore","id":1007720110,"account_id":1007720110},{"nickname":"abc123hi","id":1001173582,"account_id":1001173582},{"nickname":"abc123kg","id":1001602606,"account_id":1001602606},{"nickname":"abc123me","id":1002838740,"account_id":1002838740},{"nickname":"abc123mj","id":1000276408,"account_id":1000276408},{"nickname":"abc123mjsong","id":1001026737,"account_id":1001026737},{"nickname":"abc123Noah","id":1004192118,"account_id":1004192118},{"nickname":"abc123nothingwor","id":1006074010,"account_id":1006074010},{"nickname":"Abc123rage","id":1002847199,"account_id":1002847199},{"nickname":"abc123rtdcddv","id":1000478345,"account_id":1000478345},{"nickname":"abc123swag","id":1007346079,"account_id":1007346079},{"nickname":"abc123tank","id":1002850754,"account_id":1002850754},{"nickname":"abc123tw","id":1005020865,"account_id":1005020865},{"nickname":"ABC123twelve","id":1000461226,"account_id":1000461226}]}
13
+ {"status":"ok","count":100,"data":[{"nickname":"abc","id":null,"account_id":1001407449},{"nickname":"abc0","id":null,"account_id":1008406637},{"nickname":"abc0001abc","id":null,"account_id":1006760438},{"nickname":"abc001","id":null,"account_id":1004003899},{"nickname":"abc002","id":null,"account_id":1004017871},{"nickname":"Abc007","id":null,"account_id":1000851929},{"nickname":"abc01","id":null,"account_id":1001521332},{"nickname":"ABC0101","id":null,"account_id":1007359255},{"nickname":"abc0123456789","id":null,"account_id":1004737214},{"nickname":"abc01_hero","id":null,"account_id":1005882335},{"nickname":"abc021011","id":null,"account_id":1004698075},{"nickname":"abc0212","id":null,"account_id":1008540658},{"nickname":"abc028677","id":null,"account_id":1002888750},{"nickname":"abc0401222","id":null,"account_id":1005086728},{"nickname":"abc0815","id":null,"account_id":1000001452},{"nickname":"abc0921777","id":null,"account_id":1000990900},{"nickname":"abc0925480914","id":null,"account_id":1006923138},{"nickname":"abc1","id":null,"account_id":1000774322},{"nickname":"abc10","id":null,"account_id":1001055595},{"nickname":"abc100","id":null,"account_id":1002883000},{"nickname":"abc101","id":null,"account_id":1001423554},{"nickname":"abc10227","id":null,"account_id":1002101666},{"nickname":"abc1046477589","id":null,"account_id":1004707581},{"nickname":"abc11","id":null,"account_id":1007227104},{"nickname":"abc112","id":null,"account_id":1006480463},{"nickname":"abc12","id":null,"account_id":1001739372},{"nickname":"abc12123","id":null,"account_id":1002396288},{"nickname":"abc1212a","id":null,"account_id":1003448735},{"nickname":"abc1212c","id":null,"account_id":1003448741},{"nickname":"abc12132","id":null,"account_id":1001058418},{"nickname":"abc122173","id":null,"account_id":1001331892},{"nickname":"abc1225576485","id":null,"account_id":1005704013},{"nickname":"abc123","id":null,"account_id":1000021539},{"nickname":"abc1231","id":null,"account_id":1007330932},{"nickname":"abc123123","id":null,"account_id":1001759047},{"nickname":"abc123159","id":null,"account_id":1001072237},{"nickname":"abc1233","id":null,"account_id":1000857910},{"nickname":"abc123321","id":null,"account_id":1001834078},{"nickname":"abc12333","id":null,"account_id":1004352243},{"nickname":"abc1234","id":null,"account_id":1000333385},{"nickname":"abc123411","id":null,"account_id":1008007667},{"nickname":"abc123415","id":null,"account_id":1001540102},{"nickname":"abc123423","id":null,"account_id":1002283921},{"nickname":"abc1234321","id":null,"account_id":1001426960},{"nickname":"abc12344555","id":null,"account_id":1003047292},{"nickname":"abc12345","id":null,"account_id":1000402976},{"nickname":"abc123456","id":null,"account_id":1000349983},{"nickname":"abc1234566","id":null,"account_id":1004398552},{"nickname":"abc1234567","id":null,"account_id":1001422669},{"nickname":"ABC12345678","id":null,"account_id":1006753637},{"nickname":"abc123456789","id":null,"account_id":1000888288},{"nickname":"abc1234567890","id":null,"account_id":1001091387},{"nickname":"abc1234567891010","id":null,"account_id":1006139726},{"nickname":"abc123456789101112131416","id":null,"account_id":1001002646},{"nickname":"abc12345678987654321","id":null,"account_id":1006832140},{"nickname":"abc123456_1","id":null,"account_id":1005791028},{"nickname":"Abc123456__","id":null,"account_id":1005974563},{"nickname":"abc123456def_hero","id":null,"account_id":1005748341},{"nickname":"abc12345_2013","id":null,"account_id":1005716676},{"nickname":"abc12345_destroyer","id":null,"account_id":1006828186},{"nickname":"abc12345abc","id":null,"account_id":1007179317},{"nickname":"abc12345abc6","id":null,"account_id":1007179505},{"nickname":"abc12345abc7","id":null,"account_id":1007179526},{"nickname":"abc12345d","id":null,"account_id":1003141813},{"nickname":"abc1234d","id":null,"account_id":1003090973},{"nickname":"abc1237706","id":null,"account_id":1007357565},{"nickname":"ABC123789","id":null,"account_id":1002646856},{"nickname":"abc12389","id":null,"account_id":1004207401},{"nickname":"abc123abc","id":null,"account_id":1000629261},{"nickname":"abc123abc123","id":null,"account_id":1002009935},{"nickname":"abc123abc300","id":null,"account_id":1005991782},{"nickname":"abc123abc321","id":null,"account_id":1001318220},{"nickname":"ABC123ACB","id":null,"account_id":1002935279},{"nickname":"abc123aj","id":null,"account_id":1000809383},{"nickname":"abc123BBUNME","id":null,"account_id":1000796459},{"nickname":"abc123bds","id":null,"account_id":1004298830},{"nickname":"abc123cba321","id":null,"account_id":1005876228},{"nickname":"ABC123DARKNE55","id":null,"account_id":1002588845},{"nickname":"abc123def","id":null,"account_id":1007840029},{"nickname":"abc123def456","id":null,"account_id":1001015965},{"nickname":"abc123def456ghi789","id":null,"account_id":1001046074},{"nickname":"abc123def456ghi789jkl","id":null,"account_id":1000466156},{"nickname":"abc123def456ghi789jkl101","id":null,"account_id":1001045166},{"nickname":"abc123dorame","id":null,"account_id":1001134078},{"nickname":"abc123doremi","id":null,"account_id":1005005726},{"nickname":"ABC123Gaming","id":null,"account_id":1005748565},{"nickname":"abc123gilmore","id":null,"account_id":1007720110},{"nickname":"abc123hi","id":null,"account_id":1001173582},{"nickname":"abc123kg","id":null,"account_id":1001602606},{"nickname":"abc123me","id":null,"account_id":1002838740},{"nickname":"abc123mj","id":null,"account_id":1000276408},{"nickname":"abc123mjsong","id":null,"account_id":1001026737},{"nickname":"abc123Noah","id":null,"account_id":1004192118},{"nickname":"abc123nothingwor","id":null,"account_id":1006074010},{"nickname":"Abc123rage","id":null,"account_id":1002847199},{"nickname":"abc123rtdcddv","id":null,"account_id":1000478345},{"nickname":"abc123swag","id":null,"account_id":1007346079},{"nickname":"abc123tank","id":null,"account_id":1002850754},{"nickname":"abc123tw","id":null,"account_id":1005020865},{"nickname":"ABC123twelve","id":null,"account_id":1000461226}]}
@@ -1,13 +1,13 @@
1
1
  HTTP/1.1 200 OK
2
2
  Server: nginx
3
- Date: Thu, 29 May 2014 02:16:08 GMT
3
+ Date: Thu, 20 Nov 2014 21:26:00 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
- Content-Length: 2249
5
+ Content-Length: 571
6
6
  Connection: keep-alive
7
7
  Vary: Accept-Encoding
8
- X-Api-Version: 2.11.3
8
+ X-Api-Version: 2.15.2
9
9
  Content-Language: en
10
- Access-Control-Request-Method: GET, POST, HEAD
10
+ Access-Control-Request-Method: GET, POST
11
11
  Access-Control-Allow-Origin: *
12
12
 
13
- {"status":"ok","count":1,"data":{"1001407449":[{"statistics":{"wins":45,"all":{"spotted":0,"hits":0,"battle_avg_xp":0,"draws":0,"wins":45,"losses":0,"capture_points":0,"battles":91,"damage_dealt":0,"hits_percents":0,"damage_received":0,"shots":0,"xp":0,"frags":0,"survived_battles":0,"dropped_capture_points":0},"battles":91},"mark_of_mastery":4,"tank_id":6401},{"statistics":{"wins":33,"all":{"spotted":0,"hits":0,"battle_avg_xp":0,"draws":0,"wins":33,"losses":0,"capture_points":0,"battles":72,"damage_dealt":0,"hits_percents":0,"damage_received":0,"shots":0,"xp":0,"frags":0,"survived_battles":0,"dropped_capture_points":0},"battles":72},"mark_of_mastery":3,"tank_id":5121},{"statistics":{"wins":23,"all":{"spotted":0,"hits":0,"battle_avg_xp":0,"draws":0,"wins":23,"losses":0,"capture_points":0,"battles":47,"damage_dealt":0,"hits_percents":0,"damage_received":0,"shots":0,"xp":0,"frags":0,"survived_battles":0,"dropped_capture_points":0},"battles":47},"mark_of_mastery":2,"tank_id":6913},{"statistics":{"wins":27,"all":{"spotted":0,"hits":0,"battle_avg_xp":0,"draws":0,"wins":27,"losses":0,"capture_points":0,"battles":45,"damage_dealt":0,"hits_percents":0,"damage_received":0,"shots":0,"xp":0,"frags":0,"survived_battles":0,"dropped_capture_points":0},"battles":45},"mark_of_mastery":3,"tank_id":3329},{"statistics":{"wins":17,"all":{"spotted":0,"hits":0,"battle_avg_xp":0,"draws":0,"wins":17,"losses":0,"capture_points":0,"battles":36,"damage_dealt":0,"hits_percents":0,"damage_received":0,"shots":0,"xp":0,"frags":0,"survived_battles":0,"dropped_capture_points":0},"battles":36},"mark_of_mastery":1,"tank_id":2065},{"statistics":{"wins":15,"all":{"spotted":0,"hits":0,"battle_avg_xp":0,"draws":0,"wins":15,"losses":0,"capture_points":0,"battles":21,"damage_dealt":0,"hits_percents":0,"damage_received":0,"shots":0,"xp":0,"frags":0,"survived_battles":0,"dropped_capture_points":0},"battles":21},"mark_of_mastery":2,"tank_id":3089},{"statistics":{"wins":4,"all":{"spotted":0,"hits":0,"battle_avg_xp":0,"draws":0,"wins":4,"losses":0,"capture_points":0,"battles":5,"damage_dealt":0,"hits_percents":0,"damage_received":0,"shots":0,"xp":0,"frags":0,"survived_battles":0,"dropped_capture_points":0},"battles":5},"mark_of_mastery":0,"tank_id":545}]}}
13
+ {"status":"ok","count":1,"data":{"1001407449":[{"statistics":{"wins":45,"battles":91},"mark_of_mastery":4,"tank_id":6401},{"statistics":{"wins":33,"battles":72},"mark_of_mastery":3,"tank_id":5121},{"statistics":{"wins":23,"battles":47},"mark_of_mastery":2,"tank_id":6913},{"statistics":{"wins":27,"battles":45},"mark_of_mastery":3,"tank_id":3329},{"statistics":{"wins":17,"battles":36},"mark_of_mastery":1,"tank_id":2065},{"statistics":{"wins":15,"battles":21},"mark_of_mastery":2,"tank_id":3089},{"statistics":{"wins":4,"battles":5},"mark_of_mastery":0,"tank_id":545}]}}
@@ -1,13 +1,13 @@
1
1
  HTTP/1.1 200 OK
2
2
  Server: nginx
3
- Date: Thu, 29 May 2014 02:16:09 GMT
3
+ Date: Thu, 20 Nov 2014 21:26:02 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
- Content-Length: 2240
5
+ Content-Length: 1656
6
6
  Connection: keep-alive
7
7
  Vary: Accept-Encoding
8
- X-Api-Version: 2.11.3
8
+ X-Api-Version: 2.15.2
9
9
  Content-Language: en
10
- Access-Control-Request-Method: GET, POST, HEAD
10
+ Access-Control-Request-Method: GET, POST
11
11
  Access-Control-Allow-Origin: *
12
12
 
13
- {"status":"ok","count":1,"data":{"1000008881":{"members_count":7,"name":"Allied Brotherhood Clan","description_html":"<p>We are old and young. We are men and women. We are new players and good players. We are from many countries and talk many languages. We are here to have fun and have a good time.\n<\/p>","color":"#B09CA1","created_at":1365732959,"request_availability":false,"updated_at":1393639687,"private":null,"abbreviation":"ABC","emblems":{"large":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_64x64.png","small":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_24x24.png","bw_tank":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_64x64_tank.png","medium":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_32x32.png"},"clan_id":1000008881,"clan_color":"#B09CA1","members":{"1003586626":{"account_id":1003586626,"created_at":1365973238,"updated_at":0,"account_name":"abcdogface","role":"diplomat","role_i18n":"Diplomat"},"1003057708":{"account_id":1003057708,"created_at":1365733431,"updated_at":0,"account_name":"SunshineZ","role":"private","role_i18n":"Soldier"},"1007891500":{"account_id":1007891500,"created_at":1393411070,"updated_at":0,"account_name":"Petbark","role":"diplomat","role_i18n":"Diplomat"},"1003584109":{"account_id":1003584109,"created_at":1365732959,"updated_at":0,"account_name":"hetep","role":"leader","role_i18n":"Commander"},"1003961549":{"account_id":1003961549,"created_at":1393455767,"updated_at":0,"account_name":"RageUrFace","role":"recruit","role_i18n":"Recruit"},"1003054743":{"account_id":1003054743,"created_at":1365733330,"updated_at":0,"account_name":"Buffalojack","role":"diplomat","role_i18n":"Diplomat"},"1003805919":{"account_id":1003805919,"created_at":1365807873,"updated_at":0,"account_name":"sirwills","role":"vice_leader","role_i18n":"Deputy Commander"}},"is_clan_disbanded":false,"motto":"Pro Libertate","owner_id":1003584109,"victory_points":0,"description":"We are old and young. We are men and women. We are new players and good players. We are from many countries and talk many languages. We are here to have fun and have a good time."}}}
13
+ {"status":"ok","count":1,"data":{"1000008881":{"request_availability":false,"members_count":3,"name":"Allied Brotherhood Clan","description_html":"<p>We are old and young. We are men and women. We are new players and good players. We are from many countries and talk many languages. We are here to have fun and have a good time.\n<\/p>","color":"#B09CA1","created_at":1365732959,"description":"We are old and young. We are men and women. We are new players and good players. We are from many countries and talk many languages. We are here to have fun and have a good time.","victory_points_step_delta":0,"updated_at":1408301816,"private":null,"abbreviation":"ABC","emblems":{"large":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_64x64.png","small":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_24x24.png","medium":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_32x32.png","bw_tank":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_64x64_tank.png"},"clan_id":1000008881,"victory_points":0,"members":{"1007891500":{"created_at":1393411070,"role":"diplomat","role_i18n":"Intelligence Officer","account_id":1007891500,"account_name":"Petbark"},"1003584109":{"created_at":1365732959,"role":"leader","role_i18n":"Commander","account_id":1003584109,"account_name":"hetep"},"1003961549":{"created_at":1393455767,"role":"recruit","role_i18n":"Recruit","account_id":1003961549,"account_name":"RageUrFace"}},"is_clan_disbanded":false,"motto":"Pro Libertate","map_id":null,"clan_color":"#FFFFFF","owner_id":1003584109}}}
@@ -1,13 +1,13 @@
1
1
  HTTP/1.1 200 OK
2
2
  Server: nginx
3
- Date: Thu, 29 May 2014 02:16:09 GMT
3
+ Date: Thu, 20 Nov 2014 21:26:01 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
- Content-Length: 670
5
+ Content-Length: 1306
6
6
  Connection: keep-alive
7
7
  Vary: Accept-Encoding
8
- X-Api-Version: 2.11.3
8
+ X-Api-Version: 2.15.2
9
9
  Content-Language: en
10
- Access-Control-Request-Method: GET, POST, HEAD
10
+ Access-Control-Request-Method: GET, POST
11
11
  Access-Control-Allow-Origin: *
12
12
 
13
- {"status":"ok","count":1,"data":[{"owner_name":"hetep","members_count":7,"name":"Allied Brotherhood Clan","color":"#B09CA1","created_at":1365732959,"abbreviation":"ABC","emblems":{"large":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_64x64.png","small":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_24x24.png","bw_tank":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_64x64_tank.png","medium":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_32x32.png"},"clan_id":1000008881,"motto":"Pro Libertate","owner_id":1003584109}]}
13
+ {"status":"ok","count":2,"data":[{"owner_name":"basketballjoke","members_count":5,"name":"ABC golden eagles","color":"#464745","created_at":1410469413,"abbreviation":"YOLO-","emblems":{"large":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_575\/1000017575\/emblem_64x64.png","small":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_575\/1000017575\/emblem_24x24.png","medium":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_575\/1000017575\/emblem_32x32.png","bw_tank":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_575\/1000017575\/emblem_64x64_tank.png"},"clan_id":1000017575,"motto":"dem boys","owner_id":1007222462},{"owner_name":"hetep","members_count":3,"name":"Allied Brotherhood Clan","color":"#B09CA1","created_at":1365732959,"abbreviation":"ABC","emblems":{"large":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_64x64.png","small":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_24x24.png","medium":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_32x32.png","bw_tank":"http:\/\/clans.worldoftanks.com\/media\/clans\/emblems\/cl_881\/1000008881\/emblem_64x64_tank.png"},"clan_id":1000008881,"motto":"Pro Libertate","owner_id":1003584109}]}
@@ -1,12 +1,12 @@
1
1
  HTTP/1.1 200 OK
2
2
  Server: nginx
3
- Date: Thu, 29 May 2014 02:16:17 GMT
3
+ Date: Thu, 20 Nov 2014 21:26:03 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
5
  Content-Length: 52
6
6
  Connection: keep-alive
7
- X-Api-Version: 2.11.3
7
+ X-Api-Version: 2.15.2
8
8
  Content-Language: en
9
- Access-Control-Request-Method: GET, POST, HEAD
9
+ Access-Control-Request-Method: GET, POST
10
10
  Access-Control-Allow-Origin: *
11
11
 
12
12
  {"status":"ok","count":1,"data":{"1001407449":null}}
@@ -1,12 +1,12 @@
1
1
  HTTP/1.1 200 OK
2
2
  Server: nginx
3
- Date: Thu, 29 May 2014 02:16:16 GMT
3
+ Date: Thu, 20 Nov 2014 21:26:03 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
5
  Content-Length: 35
6
6
  Connection: keep-alive
7
- X-Api-Version: 2.11.3
7
+ X-Api-Version: 2.15.2
8
8
  Content-Language: en
9
- Access-Control-Request-Method: GET, POST, HEAD
9
+ Access-Control-Request-Method: GET, POST
10
10
  Access-Control-Allow-Origin: *
11
11
 
12
12
  {"status":"ok","count":0,"data":{}}