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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/lib/wot_api/base.rb +16 -4
- data/lib/wot_api/version.rb +1 -1
- data/spec/base_spec.rb +16 -0
- data/spec/fixtures/account_achievements.json +5 -5
- data/spec/fixtures/account_info.json +5 -5
- data/spec/fixtures/account_list.json +5 -5
- data/spec/fixtures/account_tanks.json +5 -5
- data/spec/fixtures/clan_info.json +5 -5
- data/spec/fixtures/clan_list.json +5 -5
- data/spec/fixtures/clan_membersinfo.json +3 -3
- data/spec/fixtures/clan_provinces.json +3 -3
- data/spec/fixtures/clan_top.json +5 -6
- data/spec/fixtures/clanratings_clans.json +12 -0
- data/spec/fixtures/clanratings_dates.json +12 -0
- data/spec/fixtures/clanratings_neighbors.json +12 -0
- data/spec/fixtures/clanratings_top.json +13 -0
- data/spec/fixtures/clanratings_types.json +13 -0
- data/spec/fixtures/encyclopedia_achievements.json +5 -5
- data/spec/fixtures/encyclopedia_arenas.json +13 -0
- data/spec/fixtures/encyclopedia_info.json +13 -0
- data/spec/fixtures/encyclopedia_tankchassis.json +5 -5
- data/spec/fixtures/encyclopedia_tankengines.json +5 -5
- data/spec/fixtures/encyclopedia_tankguns.json +5 -5
- data/spec/fixtures/encyclopedia_tankinfo.json +5 -5
- data/spec/fixtures/encyclopedia_tankradios.json +5 -5
- data/spec/fixtures/encyclopedia_tanks.json +5 -5
- data/spec/fixtures/encyclopedia_tankturrets.json +5 -5
- data/spec/fixtures/endpoints.yml +24 -5
- data/spec/fixtures/globalwar_alleyoffame.json +12 -0
- data/spec/fixtures/{clan_battles.json → globalwar_battles.json} +3 -3
- data/spec/fixtures/globalwar_clans.json +5 -5
- data/spec/fixtures/globalwar_famepoints.json +3 -3
- data/spec/fixtures/globalwar_famepointshistory.json +11 -0
- data/spec/fixtures/globalwar_maps.json +5 -5
- data/spec/fixtures/globalwar_provinces.json +5 -5
- data/spec/fixtures/globalwar_top.json +5 -5
- data/spec/fixtures/globalwar_tournaments.json +3 -3
- data/spec/fixtures/{clan_victorypointshistory.json → globalwar_victorypointshistory.json} +3 -3
- data/spec/fixtures/ratings_accounts.json +4 -4
- data/spec/fixtures/ratings_dates.json +4 -4
- data/spec/fixtures/ratings_neighbors.json +4 -4
- data/spec/fixtures/ratings_top.json +5 -5
- data/spec/fixtures/ratings_types.json +5 -5
- data/spec/fixtures/tanks_achievements.json +5 -5
- data/spec/fixtures/tanks_stats.json +5 -5
- metadata +24 -6
@@ -0,0 +1,13 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx
|
3
|
+
Date: Thu, 20 Nov 2014 21:26:23 GMT
|
4
|
+
Content-Type: application/json; charset=utf-8
|
5
|
+
Content-Length: 1070
|
6
|
+
Connection: keep-alive
|
7
|
+
Vary: Accept-Encoding
|
8
|
+
X-Api-Version: 2.15.2
|
9
|
+
Content-Language: en
|
10
|
+
Access-Control-Request-Method: GET, POST
|
11
|
+
Access-Control-Allow-Origin: *
|
12
|
+
|
13
|
+
{"status":"ok","count":8,"data":{"vehicle_crew_roles":{"loader":"Loader","radioman":"Radio Operator","driver":"Driver","gunner":"Gunner","commander":"Commander"},"tanks_updated_at":1415710179,"game_updated_at":1415710179,"languages":{"ru":"Русский","fr":"Français","en":"English","vi":"Tiếng Việt","de":"Deutsch","tr":"Türkçe","ko":"한국어","zh-cn":"简体中文","es":"Español","th":"ไทย","cs":"Čeština","pl":"Polski"},"clans_roles":{"diplomat":"Intelligence Officer","junior_officer":"Junior Officer","recruiter":"Recruitment Officer","recruit":"Recruit","private":"Private","commander":"Combat Officer","reservist":"Reservist","treasurer":"Quartermaster","vice_leader":"Executive Officer","personnel_officer":"Personnel Officer","leader":"Commander"},"vehicle_types":{"heavyTank":"Heavy Tank","AT-SPG":"Tank Destroyer","mediumTank":"Medium Tank","lightTank":"Light Tank","SPG":"SPG"},"vehicle_nations":{"usa":"U.S.A.","france":"France","ussr":"U.S.S.R.","china":"China","uk":"U.K.","japan":"Japan","germany":"Germany"},"game_version":"9.4"}}
|