asin 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +11 -0
- data/Gemfile.lock +16 -9
- data/README.rdoc +32 -10
- data/asin.gemspec +13 -8
- data/cassettes/add_items1430216263.yml +204 -0
- data/cassettes/bad_configuration.yml +29 -0
- data/cassettes/browse_node_599826.yml +112 -0
- data/cassettes/clear_cart.yml +196 -0
- data/cassettes/create_cart_with_asin_1430218150_and_other_asin_1430216263.yml +36 -0
- data/cassettes/get_cart.yml +199 -0
- data/cassettes/lookup_1430218150-0439023521_multiple.yml +26 -0
- data/cassettes/lookup_1430218150.yml +184 -0
- data/cassettes/lookup_1430218150_item_class.yml +184 -0
- data/cassettes/lookup_1430218150_mash.yml +184 -0
- data/cassettes/lookup_1430218150_medium.yml +184 -0
- data/cassettes/lookup_1430218150_rash.yml +184 -0
- data/cassettes/lookup_1430218150_raw.yml +184 -0
- data/cassettes/lookup_multiple_asins.yml +112 -0
- data/cassettes/search_index_music.yml +92 -0
- data/cassettes/search_keywords.yml +1513 -0
- data/cassettes/search_keywords_index_music.yml +116 -0
- data/cassettes/search_keywords_key_index_music.yml +231 -0
- data/cassettes/search_keywords_single_result.yml +72 -0
- data/cassettes/update_items.yml +208 -0
- data/lib/asin/client.rb +12 -11
- data/lib/asin/configuration.rb +27 -19
- data/lib/asin/version.rb +1 -1
- data/spec/browse_node_spec.rb +7 -5
- data/spec/cart_spec.rb +31 -22
- data/spec/search_spec.rb +72 -40
- data/spec/spec_helper.rb +16 -2
- metadata +84 -19
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
asin (0.
|
4
|
+
asin (0.6.0)
|
5
5
|
crack (~> 0.1.8)
|
6
6
|
hashie (~> 1.0.0)
|
7
|
-
httpi (~> 0.9.
|
7
|
+
httpi (~> 0.9.5)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: http://rubygems.org/
|
11
11
|
specs:
|
12
|
+
addressable (2.2.6)
|
12
13
|
crack (0.1.8)
|
13
14
|
diff-lcs (1.1.2)
|
14
15
|
fuubar (0.0.5)
|
@@ -16,12 +17,11 @@ GEM
|
|
16
17
|
rspec-instafail (~> 0.1.4)
|
17
18
|
ruby-progressbar (~> 0.0.10)
|
18
19
|
hashie (1.0.0)
|
19
|
-
httpclient (2.2.
|
20
|
-
httpi (0.9.
|
21
|
-
pyu-ntlm-http (>= 0.1.3.1)
|
20
|
+
httpclient (2.2.1)
|
21
|
+
httpi (0.9.5)
|
22
22
|
rack
|
23
|
-
|
24
|
-
|
23
|
+
rack (1.3.2)
|
24
|
+
rake (0.9.2)
|
25
25
|
rash (0.3.0)
|
26
26
|
hashie (~> 1.0.0)
|
27
27
|
rspec (2.6.0)
|
@@ -34,13 +34,20 @@ GEM
|
|
34
34
|
rspec-instafail (0.1.8)
|
35
35
|
rspec-mocks (2.6.0)
|
36
36
|
ruby-progressbar (0.0.10)
|
37
|
+
vcr (1.10.3)
|
38
|
+
webmock (1.6.4)
|
39
|
+
addressable (> 2.2.5, ~> 2.2)
|
40
|
+
crack (>= 0.1.7)
|
37
41
|
|
38
42
|
PLATFORMS
|
39
43
|
ruby
|
40
44
|
|
41
45
|
DEPENDENCIES
|
42
46
|
asin!
|
43
|
-
fuubar (~> 0.0.
|
44
|
-
httpclient (~> 2.2.
|
47
|
+
fuubar (~> 0.0.5)
|
48
|
+
httpclient (~> 2.2.1)
|
49
|
+
rake (~> 0.9.2)
|
45
50
|
rash (~> 0.3.0)
|
46
51
|
rspec (~> 2.6.0)
|
52
|
+
vcr (~> 1.10.3)
|
53
|
+
webmock (~> 1.6.4)
|
data/README.rdoc
CHANGED
@@ -1,11 +1,27 @@
|
|
1
|
-
==
|
1
|
+
== Infos
|
2
2
|
|
3
3
|
Status: http://stillmaintained.com/phoet/asin.png
|
4
|
+
Build: http://travis-ci.org/phoet/asin.png
|
5
|
+
|
6
|
+
ASIN is a simple, extensible wrapper for parts of the REST-API of Amazon Product Advertising API (aka Associates Web Service aka Amazon E-Commerce Service).
|
4
7
|
|
5
|
-
|
8
|
+
For more information on the REST calls, have a look at the whole Amazon E-Commerce-API[http://docs.amazonwebservices.com/AWSECommerceService/2010-11-01/DG/].
|
9
|
+
|
10
|
+
Have a look at the RDOC[http://rdoc.info/projects/phoet/asin] for this project, if you like browsing some docs.
|
11
|
+
|
12
|
+
== Installation
|
13
|
+
|
14
|
+
The gem is tested against Ruby 1.9.2 / 1.8.7 and runs smoothly with Rails 3.
|
6
15
|
|
7
16
|
gem install asin
|
8
17
|
gem install httpclient # optional, see HTTPI
|
18
|
+
gem install rash # optional, see Response Configuration
|
19
|
+
|
20
|
+
or in your Gemfile:
|
21
|
+
|
22
|
+
gem 'asin'
|
23
|
+
gem 'httpclient' # optional, see HTTPI
|
24
|
+
gem 'rash' # optional, see Response Configuration
|
9
25
|
|
10
26
|
== Configuration
|
11
27
|
|
@@ -13,7 +29,7 @@ Rails style initializer (config/initializers/asin.rb):
|
|
13
29
|
|
14
30
|
ASIN::Configuration.configure do |config|
|
15
31
|
config.secret = 'your-secret'
|
16
|
-
config.key
|
32
|
+
config.key = 'your-key'
|
17
33
|
end
|
18
34
|
|
19
35
|
YAML style configuration:
|
@@ -28,6 +44,17 @@ Inline style configuration:
|
|
28
44
|
|
29
45
|
Have a look at ASIN::Configuration class for all the details.
|
30
46
|
|
47
|
+
===API Changes
|
48
|
+
|
49
|
+
With the latest version of the Product Advertising API you need to include your associate_tag[https://affiliate-program.amazon.com/gp/advertising/api/detail/api-changes.html].
|
50
|
+
|
51
|
+
ASIN::Configuration.configure do |config|
|
52
|
+
config.secret = 'your-secret'
|
53
|
+
config.key = 'your-key'
|
54
|
+
config.associate_tag = 'your-tag'
|
55
|
+
end
|
56
|
+
|
57
|
+
|
31
58
|
== Usage
|
32
59
|
|
33
60
|
ASIN is designed as a module, so you can include it into any object you like:
|
@@ -48,10 +75,10 @@ But you can also use the +instance+ method to get a proxy-object:
|
|
48
75
|
client = ASIN::Client.instance
|
49
76
|
|
50
77
|
# lookup an item with the amazon standard identification number (asin)
|
51
|
-
|
78
|
+
items = client.lookup '1430218150'
|
52
79
|
|
53
80
|
# have a look at the title of the item
|
54
|
-
|
81
|
+
items.first.title
|
55
82
|
=> Learn Objective-C on the Mac (Learn Series)
|
56
83
|
|
57
84
|
# search for any kind of stuff on amazon with keywords
|
@@ -131,8 +158,3 @@ As a default HTTPI uses _httpclient_ so you should add that dependency to your p
|
|
131
158
|
|
132
159
|
gem 'httpclient'
|
133
160
|
|
134
|
-
== Infos
|
135
|
-
|
136
|
-
Have a look at the RDOC[http://rdoc.info/projects/phoet/asin] for this project, if you want further information.
|
137
|
-
|
138
|
-
For more information on the REST calls, have a look at the whole Amazon E-Commerce-API[http://docs.amazonwebservices.com/AWSECommerceService/2010-11-01/DG/].
|
data/asin.gemspec
CHANGED
@@ -12,19 +12,24 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.summary = 'Simple interface to AWS Lookup, Search and Cart operations.'
|
13
13
|
s.description = 'Amazon Simple INterface.'
|
14
14
|
|
15
|
-
s.rubyforge_project = "asin"
|
15
|
+
s.rubyforge_project = "asin"
|
16
16
|
|
17
17
|
s.files = `git ls-files`.split("\n")
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
|
-
|
22
|
-
s.add_dependency('crack',
|
21
|
+
|
22
|
+
s.add_dependency('crack', '~> 0.1.8')
|
23
23
|
s.add_dependency('hashie', '~> 1.0.0')
|
24
|
-
s.add_dependency('httpi',
|
24
|
+
s.add_dependency('httpi', '~> 0.9.5')
|
25
|
+
|
26
|
+
s.add_development_dependency('httpclient', '~> 2.2.1')
|
27
|
+
s.add_development_dependency('rash', '~> 0.3.0')
|
25
28
|
|
26
|
-
s.add_development_dependency('
|
27
|
-
s.add_development_dependency('
|
28
|
-
s.add_development_dependency('
|
29
|
-
s.add_development_dependency('
|
29
|
+
s.add_development_dependency('rake', '~> 0.9.2')
|
30
|
+
s.add_development_dependency('httpclient', '~> 2.2.1')
|
31
|
+
s.add_development_dependency('vcr', '~> 1.10.3')
|
32
|
+
s.add_development_dependency('webmock', '~> 1.6.4')
|
33
|
+
s.add_development_dependency('rspec', '~> 2.6.0')
|
34
|
+
s.add_development_dependency('fuubar', '~> 0.0.5')
|
30
35
|
end
|
@@ -0,0 +1,204 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&Item.0.ASIN=1430218150&Item.0.Quantity=1&Operation=CartCreate&Service=AWSECommerceService&Signature=60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Tue, 02 Aug 2011 14:49:24 GMT
|
15
|
+
server:
|
16
|
+
- Server
|
17
|
+
content-type:
|
18
|
+
- text/xml;charset=UTF-8
|
19
|
+
vary:
|
20
|
+
- Accept-Encoding,User-Agent
|
21
|
+
nncoection:
|
22
|
+
- close
|
23
|
+
transfer-encoding:
|
24
|
+
- chunked
|
25
|
+
body: <?xml version="1.0" encoding="UTF-8"?><CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
|
26
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1ZB4KC0WMGKSZARGMCMG</RequestId><Arguments><Argument
|
27
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
|
28
|
+
Value="1"></Argument><Argument Name="Operation" Value="CartCreate"></Argument><Argument
|
29
|
+
Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
|
30
|
+
Name="Item.0.ASIN" Value="1430218150"></Argument><Argument Name="Signature"
|
31
|
+
Value="60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I="></Argument><Argument Name="AWSAccessKeyId"
|
32
|
+
Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.124288082122803</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartCreateRequest><Items><Item><ASIN>1430218150</ASIN><Quantity>1</Quantity></Item></Items></CartCreateRequest></Request><CartId>177-9222147-9237722</CartId><HMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw=</HMAC><URLEncodedHMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=177-9222147-9237722%26associate-id=ws%26hmac=v1WZTGLY5L5gCHUiOkprEe7Pglw=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
33
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartCreateResponse>
|
34
|
+
http_version: '1.1'
|
35
|
+
- !ruby/struct:VCR::HTTPInteraction
|
36
|
+
request: !ruby/struct:VCR::Request
|
37
|
+
method: :get
|
38
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&CartId=177-9222147-9237722&HMAC=v1WZTGLY5L5gCHUiOkprEe7Pglw=&Item.0.ASIN=1430216263&Item.0.Quantity=2&Operation=CartAdd&Service=AWSECommerceService&Signature=nxRfELPvxWwLet16yCaItfTU1HqH/naFlYvKSFZ1Xz0=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
39
|
+
body: !!null
|
40
|
+
headers: !!null
|
41
|
+
response: !ruby/struct:VCR::Response
|
42
|
+
status: !ruby/struct:VCR::ResponseStatus
|
43
|
+
code: 200
|
44
|
+
message: OK
|
45
|
+
headers:
|
46
|
+
date:
|
47
|
+
- Tue, 02 Aug 2011 14:49:24 GMT
|
48
|
+
server:
|
49
|
+
- Server
|
50
|
+
content-type:
|
51
|
+
- text/xml;charset=UTF-8
|
52
|
+
vary:
|
53
|
+
- Accept-Encoding,User-Agent
|
54
|
+
nncoection:
|
55
|
+
- close
|
56
|
+
transfer-encoding:
|
57
|
+
- chunked
|
58
|
+
body: ! '<?xml version="1.0" encoding="UTF-8"?><CartAddResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
|
59
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>08V46YZ9M4GP09CEEH4K</RequestId><Arguments><Argument
|
60
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
|
61
|
+
Value="2"></Argument><Argument Name="Operation" Value="CartAdd"></Argument><Argument
|
62
|
+
Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
|
63
|
+
Name="Signature" Value="nxRfELPvxWwLet16yCaItfTU1HqH/naFlYvKSFZ1Xz0="></Argument><Argument
|
64
|
+
Name="Item.0.ASIN" Value="1430216263"></Argument><Argument Name="HMAC" Value="v1WZTGLY5L5gCHUiOkprEe7Pglw="></Argument><Argument
|
65
|
+
Name="CartId" Value="177-9222147-9237722"></Argument><Argument Name="AWSAccessKeyId"
|
66
|
+
Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.0923361778259277</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartAddRequest><CartId>177-9222147-9237722</CartId><HMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw=</HMAC><Items><Item><ASIN>1430216263</ASIN><Quantity>2</Quantity></Item></Items></CartAddRequest></Request><CartId>177-9222147-9237722</CartId><HMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw=</HMAC><URLEncodedHMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=177-9222147-9237722%26associate-id=ws%26hmac=v1WZTGLY5L5gCHUiOkprEe7Pglw=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItem><CartItemId>U3CFEHHIPJNW3L</CartItemId><ASIN>1430216263</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>2</Quantity><Title>Beginning
|
67
|
+
iPhone Development: Exploring the iPhone SDK</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>5278</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$52.78</FormattedPrice></ItemTotal></CartItem><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
68
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartAddResponse>'
|
69
|
+
http_version: '1.1'
|
70
|
+
- !ruby/struct:VCR::HTTPInteraction
|
71
|
+
request: !ruby/struct:VCR::Request
|
72
|
+
method: :get
|
73
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&Item.0.ASIN=1430218150&Item.0.Quantity=1&Operation=CartCreate&Service=AWSECommerceService&Signature=60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
74
|
+
body: !!null
|
75
|
+
headers: !!null
|
76
|
+
response: !ruby/struct:VCR::Response
|
77
|
+
status: !ruby/struct:VCR::ResponseStatus
|
78
|
+
code: 200
|
79
|
+
message: OK
|
80
|
+
headers:
|
81
|
+
date:
|
82
|
+
- Tue, 02 Aug 2011 14:49:37 GMT
|
83
|
+
server:
|
84
|
+
- Server
|
85
|
+
content-type:
|
86
|
+
- text/xml;charset=UTF-8
|
87
|
+
vary:
|
88
|
+
- Accept-Encoding,User-Agent
|
89
|
+
nncoection:
|
90
|
+
- close
|
91
|
+
transfer-encoding:
|
92
|
+
- chunked
|
93
|
+
body: <?xml version="1.0" encoding="UTF-8"?><CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
|
94
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1R700YA3AVAECH1PBKF4</RequestId><Arguments><Argument
|
95
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
|
96
|
+
Value="1"></Argument><Argument Name="Operation" Value="CartCreate"></Argument><Argument
|
97
|
+
Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
|
98
|
+
Name="Item.0.ASIN" Value="1430218150"></Argument><Argument Name="Signature"
|
99
|
+
Value="60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I="></Argument><Argument Name="AWSAccessKeyId"
|
100
|
+
Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.136124134063721</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartCreateRequest><Items><Item><ASIN>1430218150</ASIN><Quantity>1</Quantity></Item></Items></CartCreateRequest></Request><CartId>176-5199702-6842055</CartId><HMAC>nFHufNv+VKMeJ2emQdeRc4wSOZE=</HMAC><URLEncodedHMAC>nFHufNv%2BVKMeJ2emQdeRc4wSOZE%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=176-5199702-6842055%26associate-id=ws%26hmac=nFHufNv%2BVKMeJ2emQdeRc4wSOZE=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
101
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartCreateResponse>
|
102
|
+
http_version: '1.1'
|
103
|
+
- !ruby/struct:VCR::HTTPInteraction
|
104
|
+
request: !ruby/struct:VCR::Request
|
105
|
+
method: :get
|
106
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&CartId=176-5199702-6842055&HMAC=nFHufNv+VKMeJ2emQdeRc4wSOZE=&Item.0.ASIN=1430216263&Item.0.Quantity=2&Operation=CartAdd&Service=AWSECommerceService&Signature=1/vMYDfwLzlXd0REclhsqQ0mISWVsddvSEj4hdkRQ+E=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
107
|
+
body: !!null
|
108
|
+
headers: !!null
|
109
|
+
response: !ruby/struct:VCR::Response
|
110
|
+
status: !ruby/struct:VCR::ResponseStatus
|
111
|
+
code: 200
|
112
|
+
message: OK
|
113
|
+
headers:
|
114
|
+
date:
|
115
|
+
- Tue, 02 Aug 2011 14:49:37 GMT
|
116
|
+
server:
|
117
|
+
- Server
|
118
|
+
content-type:
|
119
|
+
- text/xml;charset=UTF-8
|
120
|
+
vary:
|
121
|
+
- Accept-Encoding,User-Agent
|
122
|
+
nncoection:
|
123
|
+
- close
|
124
|
+
transfer-encoding:
|
125
|
+
- chunked
|
126
|
+
body: ! '<?xml version="1.0" encoding="UTF-8"?><CartAddResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
|
127
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>0MJDMR1P3P4HAHCN4PC6</RequestId><Arguments><Argument
|
128
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
|
129
|
+
Value="2"></Argument><Argument Name="Signature" Value="1/vMYDfwLzlXd0REclhsqQ0mISWVsddvSEj4hdkRQ+E="></Argument><Argument
|
130
|
+
Name="Item.0.ASIN" Value="1430216263"></Argument><Argument Name="HMAC" Value="nFHufNv+VKMeJ2emQdeRc4wSOZE="></Argument><Argument
|
131
|
+
Name="Operation" Value="CartAdd"></Argument><Argument Name="CartId" Value="176-5199702-6842055"></Argument><Argument
|
132
|
+
Name="AWSAccessKeyId" Value="AKIAJFA5X7RTOKFNPVZQ"></Argument><Argument Name="Version"
|
133
|
+
Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument></Arguments><RequestProcessingTime>0.105334997177124</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartAddRequest><CartId>176-5199702-6842055</CartId><HMAC>nFHufNv+VKMeJ2emQdeRc4wSOZE=</HMAC><Items><Item><ASIN>1430216263</ASIN><Quantity>2</Quantity></Item></Items></CartAddRequest></Request><CartId>176-5199702-6842055</CartId><HMAC>nFHufNv+VKMeJ2emQdeRc4wSOZE=</HMAC><URLEncodedHMAC>nFHufNv%2BVKMeJ2emQdeRc4wSOZE%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=176-5199702-6842055%26associate-id=ws%26hmac=nFHufNv%2BVKMeJ2emQdeRc4wSOZE=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItem><CartItemId>U3CFEHHIPJNW3L</CartItemId><ASIN>1430216263</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>2</Quantity><Title>Beginning
|
134
|
+
iPhone Development: Exploring the iPhone SDK</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>5278</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$52.78</FormattedPrice></ItemTotal></CartItem><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
135
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartAddResponse>'
|
136
|
+
http_version: '1.1'
|
137
|
+
- !ruby/struct:VCR::HTTPInteraction
|
138
|
+
request: !ruby/struct:VCR::Request
|
139
|
+
method: :get
|
140
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&Item.0.ASIN=1430218150&Item.0.Quantity=1&Operation=CartCreate&Service=AWSECommerceService&Signature=60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
141
|
+
body: !!null
|
142
|
+
headers: !!null
|
143
|
+
response: !ruby/struct:VCR::Response
|
144
|
+
status: !ruby/struct:VCR::ResponseStatus
|
145
|
+
code: 200
|
146
|
+
message: OK
|
147
|
+
headers:
|
148
|
+
date:
|
149
|
+
- Tue, 02 Aug 2011 14:54:00 GMT
|
150
|
+
server:
|
151
|
+
- Server
|
152
|
+
content-type:
|
153
|
+
- text/xml;charset=UTF-8
|
154
|
+
vary:
|
155
|
+
- Accept-Encoding,User-Agent
|
156
|
+
nncoection:
|
157
|
+
- close
|
158
|
+
transfer-encoding:
|
159
|
+
- chunked
|
160
|
+
body: <?xml version="1.0" encoding="UTF-8"?><CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
|
161
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1J8GF60SDT98NWKBZ94J</RequestId><Arguments><Argument
|
162
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
|
163
|
+
Value="1"></Argument><Argument Name="Operation" Value="CartCreate"></Argument><Argument
|
164
|
+
Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
|
165
|
+
Name="Item.0.ASIN" Value="1430218150"></Argument><Argument Name="Signature"
|
166
|
+
Value="60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I="></Argument><Argument Name="AWSAccessKeyId"
|
167
|
+
Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.165292978286743</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartCreateRequest><Items><Item><ASIN>1430218150</ASIN><Quantity>1</Quantity></Item></Items></CartCreateRequest></Request><CartId>190-1723894-3951037</CartId><HMAC>PHzjr4ZAjftkgnnoO+ygRKuYDx8=</HMAC><URLEncodedHMAC>PHzjr4ZAjftkgnnoO%2BygRKuYDx8%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=190-1723894-3951037%26associate-id=ws%26hmac=PHzjr4ZAjftkgnnoO%2BygRKuYDx8=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
168
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartCreateResponse>
|
169
|
+
http_version: '1.1'
|
170
|
+
- !ruby/struct:VCR::HTTPInteraction
|
171
|
+
request: !ruby/struct:VCR::Request
|
172
|
+
method: :get
|
173
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&CartId=190-1723894-3951037&HMAC=PHzjr4ZAjftkgnnoO+ygRKuYDx8=&Item.0.ASIN=1430216263&Item.0.Quantity=2&Operation=CartAdd&Service=AWSECommerceService&Signature=kZU17NGGpaWaOos06xXy7cS95yhBsioIT2gsEiDk4VI=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
174
|
+
body: !!null
|
175
|
+
headers: !!null
|
176
|
+
response: !ruby/struct:VCR::Response
|
177
|
+
status: !ruby/struct:VCR::ResponseStatus
|
178
|
+
code: 200
|
179
|
+
message: OK
|
180
|
+
headers:
|
181
|
+
date:
|
182
|
+
- Tue, 02 Aug 2011 14:54:00 GMT
|
183
|
+
server:
|
184
|
+
- Server
|
185
|
+
content-type:
|
186
|
+
- text/xml;charset=UTF-8
|
187
|
+
vary:
|
188
|
+
- Accept-Encoding,User-Agent
|
189
|
+
nncoection:
|
190
|
+
- close
|
191
|
+
transfer-encoding:
|
192
|
+
- chunked
|
193
|
+
body: ! '<?xml version="1.0" encoding="UTF-8"?><CartAddResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
|
194
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1HY03MG90VA7JYBP1XQ9</RequestId><Arguments><Argument
|
195
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
|
196
|
+
Value="2"></Argument><Argument Name="Operation" Value="CartAdd"></Argument><Argument
|
197
|
+
Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
|
198
|
+
Name="Signature" Value="kZU17NGGpaWaOos06xXy7cS95yhBsioIT2gsEiDk4VI="></Argument><Argument
|
199
|
+
Name="Item.0.ASIN" Value="1430216263"></Argument><Argument Name="HMAC" Value="PHzjr4ZAjftkgnnoO+ygRKuYDx8="></Argument><Argument
|
200
|
+
Name="CartId" Value="190-1723894-3951037"></Argument><Argument Name="AWSAccessKeyId"
|
201
|
+
Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.163787841796875</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartAddRequest><CartId>190-1723894-3951037</CartId><HMAC>PHzjr4ZAjftkgnnoO+ygRKuYDx8=</HMAC><Items><Item><ASIN>1430216263</ASIN><Quantity>2</Quantity></Item></Items></CartAddRequest></Request><CartId>190-1723894-3951037</CartId><HMAC>PHzjr4ZAjftkgnnoO+ygRKuYDx8=</HMAC><URLEncodedHMAC>PHzjr4ZAjftkgnnoO%2BygRKuYDx8%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=190-1723894-3951037%26associate-id=ws%26hmac=PHzjr4ZAjftkgnnoO%2BygRKuYDx8=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItem><CartItemId>U3CFEHHIPJNW3L</CartItemId><ASIN>1430216263</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>2</Quantity><Title>Beginning
|
202
|
+
iPhone Development: Exploring the iPhone SDK</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>5278</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$52.78</FormattedPrice></ItemTotal></CartItem><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
203
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartAddResponse>'
|
204
|
+
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://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=&ItemId=bla&Operation=ItemLookup&ResponseGroup=Medium&Service=AWSECommerceService&Signature=MXy86F4AyavpzBqeo2e4LHZRzhlBxe/3XS7zXcp0wTQ=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 403
|
11
|
+
message: Forbidden
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Tue, 02 Aug 2011 14:49:25 GMT
|
15
|
+
server:
|
16
|
+
- Server
|
17
|
+
vary:
|
18
|
+
- Accept-Encoding,User-Agent
|
19
|
+
cneonction:
|
20
|
+
- close
|
21
|
+
transfer-encoding:
|
22
|
+
- chunked
|
23
|
+
content-type:
|
24
|
+
- text/plain
|
25
|
+
body: ! '<?xml version="1.0"?>
|
26
|
+
|
27
|
+
<ItemLookupErrorResponse xmlns="http://ecs.amazonaws.com/doc/2010-11-01/"><Error><Code>MissingClientTokenId</Code><Message>Request
|
28
|
+
must contain AWSAccessKeyId or X.509 certificate.</Message></Error><RequestID>a0fca4f4-04b1-489c-a021-0737753cfcab</RequestID></ItemLookupErrorResponse>'
|
29
|
+
http_version: '1.1'
|
@@ -0,0 +1,112 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&BrowseNodeId=599826&Operation=BrowseNodeLookup&ResponseGroup=BrowseNodeInfo&Service=AWSECommerceService&Signature=G0lNaAGw5YBglJ/V9hFuZ1IY+LflT6Xss+pd//a0Wy4=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Tue, 02 Aug 2011 14:49:21 GMT
|
15
|
+
server:
|
16
|
+
- Server
|
17
|
+
content-type:
|
18
|
+
- text/xml;charset=UTF-8
|
19
|
+
vary:
|
20
|
+
- Accept-Encoding,User-Agent
|
21
|
+
nncoection:
|
22
|
+
- close
|
23
|
+
transfer-encoding:
|
24
|
+
- chunked
|
25
|
+
body: <?xml version="1.0" encoding="UTF-8"?><BrowseNodeLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
|
26
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>0JSWSAQAX4PDB9WA1MYV</RequestId><Arguments><Argument
|
27
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="ResponseGroup"
|
28
|
+
Value="BrowseNodeInfo"></Argument><Argument Name="Operation" Value="BrowseNodeLookup"></Argument><Argument
|
29
|
+
Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument Name="Version"
|
30
|
+
Value="2010-11-01"></Argument><Argument Name="Signature" Value="G0lNaAGw5YBglJ/V9hFuZ1IY+LflT6Xss+pd//a0Wy4="></Argument><Argument
|
31
|
+
Name="BrowseNodeId" Value="599826"></Argument><Argument Name="AWSAccessKeyId"
|
32
|
+
Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.00666117668151855</RequestProcessingTime></OperationRequest><BrowseNodes><Request><IsValid>True</IsValid><BrowseNodeLookupRequest><BrowseNodeId>599826</BrowseNodeId><ResponseGroup>BrowseNodeInfo</ResponseGroup></BrowseNodeLookupRequest></Request><BrowseNode><BrowseNodeId>599826</BrowseNodeId><Name>Comedy</Name><Ancestors><BrowseNode><BrowseNodeId>501230</BrowseNodeId><Name>Boxed
|
33
|
+
Sets</Name><Ancestors><BrowseNode><BrowseNodeId>2998369011</BrowseNodeId><Name>DVD
|
34
|
+
Custom Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2644982011</BrowseNodeId><Name>Custom
|
35
|
+
Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2644981011</BrowseNodeId><Name>Specialty
|
36
|
+
Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2625373011</BrowseNodeId><Name>Movies
|
37
|
+
& TV</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></BrowseNodes></BrowseNodeLookupResponse>
|
38
|
+
http_version: '1.1'
|
39
|
+
- !ruby/struct:VCR::HTTPInteraction
|
40
|
+
request: !ruby/struct:VCR::Request
|
41
|
+
method: :get
|
42
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&BrowseNodeId=599826&Operation=BrowseNodeLookup&ResponseGroup=BrowseNodeInfo&Service=AWSECommerceService&Signature=G0lNaAGw5YBglJ/V9hFuZ1IY+LflT6Xss+pd//a0Wy4=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
43
|
+
body: !!null
|
44
|
+
headers: !!null
|
45
|
+
response: !ruby/struct:VCR::Response
|
46
|
+
status: !ruby/struct:VCR::ResponseStatus
|
47
|
+
code: 200
|
48
|
+
message: OK
|
49
|
+
headers:
|
50
|
+
date:
|
51
|
+
- Tue, 02 Aug 2011 14:49:35 GMT
|
52
|
+
server:
|
53
|
+
- Server
|
54
|
+
content-type:
|
55
|
+
- text/xml;charset=UTF-8
|
56
|
+
vary:
|
57
|
+
- Accept-Encoding,User-Agent
|
58
|
+
nncoection:
|
59
|
+
- close
|
60
|
+
transfer-encoding:
|
61
|
+
- chunked
|
62
|
+
body: <?xml version="1.0" encoding="UTF-8"?><BrowseNodeLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
|
63
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>078QFEHYSZ3B2RJH1CE5</RequestId><Arguments><Argument
|
64
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="ResponseGroup"
|
65
|
+
Value="BrowseNodeInfo"></Argument><Argument Name="Operation" Value="BrowseNodeLookup"></Argument><Argument
|
66
|
+
Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument Name="Version"
|
67
|
+
Value="2010-11-01"></Argument><Argument Name="Signature" Value="G0lNaAGw5YBglJ/V9hFuZ1IY+LflT6Xss+pd//a0Wy4="></Argument><Argument
|
68
|
+
Name="BrowseNodeId" Value="599826"></Argument><Argument Name="AWSAccessKeyId"
|
69
|
+
Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.00730609893798828</RequestProcessingTime></OperationRequest><BrowseNodes><Request><IsValid>True</IsValid><BrowseNodeLookupRequest><BrowseNodeId>599826</BrowseNodeId><ResponseGroup>BrowseNodeInfo</ResponseGroup></BrowseNodeLookupRequest></Request><BrowseNode><BrowseNodeId>599826</BrowseNodeId><Name>Comedy</Name><Ancestors><BrowseNode><BrowseNodeId>501230</BrowseNodeId><Name>Boxed
|
70
|
+
Sets</Name><Ancestors><BrowseNode><BrowseNodeId>2998369011</BrowseNodeId><Name>DVD
|
71
|
+
Custom Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2644982011</BrowseNodeId><Name>Custom
|
72
|
+
Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2644981011</BrowseNodeId><Name>Specialty
|
73
|
+
Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2625373011</BrowseNodeId><Name>Movies
|
74
|
+
& TV</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></BrowseNodes></BrowseNodeLookupResponse>
|
75
|
+
http_version: '1.1'
|
76
|
+
- !ruby/struct:VCR::HTTPInteraction
|
77
|
+
request: !ruby/struct:VCR::Request
|
78
|
+
method: :get
|
79
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&BrowseNodeId=599826&Operation=BrowseNodeLookup&ResponseGroup=BrowseNodeInfo&Service=AWSECommerceService&Signature=G0lNaAGw5YBglJ/V9hFuZ1IY+LflT6Xss+pd//a0Wy4=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
|
80
|
+
body: !!null
|
81
|
+
headers: !!null
|
82
|
+
response: !ruby/struct:VCR::Response
|
83
|
+
status: !ruby/struct:VCR::ResponseStatus
|
84
|
+
code: 200
|
85
|
+
message: OK
|
86
|
+
headers:
|
87
|
+
date:
|
88
|
+
- Tue, 02 Aug 2011 14:53:58 GMT
|
89
|
+
server:
|
90
|
+
- Server
|
91
|
+
content-type:
|
92
|
+
- text/xml;charset=UTF-8
|
93
|
+
vary:
|
94
|
+
- Accept-Encoding,User-Agent
|
95
|
+
nncoection:
|
96
|
+
- close
|
97
|
+
transfer-encoding:
|
98
|
+
- chunked
|
99
|
+
body: <?xml version="1.0" encoding="UTF-8"?><BrowseNodeLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
|
100
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>17GPHP2RAJ5XQN234NEV</RequestId><Arguments><Argument
|
101
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="ResponseGroup"
|
102
|
+
Value="BrowseNodeInfo"></Argument><Argument Name="Operation" Value="BrowseNodeLookup"></Argument><Argument
|
103
|
+
Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument Name="Version"
|
104
|
+
Value="2010-11-01"></Argument><Argument Name="Signature" Value="G0lNaAGw5YBglJ/V9hFuZ1IY+LflT6Xss+pd//a0Wy4="></Argument><Argument
|
105
|
+
Name="BrowseNodeId" Value="599826"></Argument><Argument Name="AWSAccessKeyId"
|
106
|
+
Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.0105979442596436</RequestProcessingTime></OperationRequest><BrowseNodes><Request><IsValid>True</IsValid><BrowseNodeLookupRequest><BrowseNodeId>599826</BrowseNodeId><ResponseGroup>BrowseNodeInfo</ResponseGroup></BrowseNodeLookupRequest></Request><BrowseNode><BrowseNodeId>599826</BrowseNodeId><Name>Comedy</Name><Ancestors><BrowseNode><BrowseNodeId>501230</BrowseNodeId><Name>Boxed
|
107
|
+
Sets</Name><Ancestors><BrowseNode><BrowseNodeId>2998369011</BrowseNodeId><Name>DVD
|
108
|
+
Custom Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2644982011</BrowseNodeId><Name>Custom
|
109
|
+
Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2644981011</BrowseNodeId><Name>Specialty
|
110
|
+
Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2625373011</BrowseNodeId><Name>Movies
|
111
|
+
& TV</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></BrowseNodes></BrowseNodeLookupResponse>
|
112
|
+
http_version: '1.1'
|