asin 0.8.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +1 -2
- data/{CHANGELOG.rdoc → CHANGELOG.md} +12 -12
- data/Gemfile.lock +6 -0
- data/README.md +153 -0
- data/lib/asin/client.rb +6 -5
- data/lib/asin/configuration.rb +9 -20
- data/lib/asin/version.rb +1 -1
- data/spec/browse_node_spec.rb +2 -1
- data/spec/cart_spec.rb +2 -1
- data/spec/cassettes/asin/asin_cart_with_an_existing_cart_should_add_items_to_a_cart.yml +62 -46
- data/spec/cassettes/asin/asin_cart_with_an_existing_cart_should_clear_a_cart.yml +60 -45
- data/spec/cassettes/asin/asin_cart_with_an_existing_cart_should_get_a_cart.yml +61 -46
- data/spec/cassettes/asin/asin_cart_with_an_existing_cart_should_update_a_cart.yml +64 -49
- data/spec/cassettes/asin/browse_node_should_lookup_a_browse_node.yml +28 -22
- data/spec/cassettes/asin/cart_should_create_a_cart.yml +30 -23
- data/spec/cassettes/asin/lookup_and_search_should_have_metadata.yml +70 -61
- data/spec/cassettes/asin/lookup_and_search_should_lookup_a_book.yml +70 -61
- data/spec/cassettes/asin/lookup_and_search_should_lookup_multiple_books.yml +120 -111
- data/spec/cassettes/asin/lookup_and_search_should_lookup_multiple_response_groups.yml +37 -32
- data/spec/cassettes/asin/lookup_and_search_should_return_a_custom_item_class.yml +70 -61
- data/spec/cassettes/asin/lookup_and_search_should_return_a_mash_value.yml +70 -61
- data/spec/cassettes/asin/lookup_and_search_should_return_a_rash_value.yml +70 -61
- data/spec/cassettes/asin/lookup_and_search_should_return_a_raw_value.yml +70 -61
- data/spec/cassettes/asin/lookup_and_search_should_search_keywords_a_book_with_fulltext.yml +573 -524
- data/spec/cassettes/asin/lookup_and_search_should_search_keywords_and_handle_a_single_result.yml +45 -37
- data/spec/cassettes/asin/lookup_and_search_should_search_keywords_never_mind_music.yml +109 -104
- data/spec/cassettes/asin/lookup_and_search_should_search_music.yml +28 -26
- data/spec/cassettes/asin/lookup_and_search_should_search_never_mind_music.yml +112 -110
- data/spec/cassettes/asin/similarity_should_find_similar_items.yml +500 -488
- data/spec/cassettes/asin/similarity_should_find_similar_items_for_multiple_asins_and_different_config.yml +53 -26
- data/spec/config_spec.rb +1 -1
- data/spec/search_spec.rb +7 -9
- data/spec/similarity_spec.rb +5 -4
- data/spec/spec_helper.rb +3 -1
- metadata +89 -31
- data/README.rdoc +0 -169
- data/spec/cassettes/asin/similarity_should_lookup_for_similar_items.yml +0 -618
@@ -2,65 +2,80 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=
|
5
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAIBNLWSCV5OXMPD6A&AssociateTag=phoet-20&Item.0.ASIN=1430218150&Item.0.Quantity=1&Operation=CartCreate&Service=AWSECommerceService&Signature=azye6O+pDH9+izpqWOr8V3cF/QL/8jMmzkIpSi82W5A=&Timestamp=2012-09-22T13:41:48Z&Version=2011-08-01
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
response: !ruby/struct:VCR::Response
|
9
9
|
status: !ruby/struct:VCR::ResponseStatus
|
10
10
|
code: 200
|
11
|
-
message:
|
11
|
+
message: !binary |-
|
12
|
+
T0s=
|
12
13
|
headers:
|
13
|
-
|
14
|
-
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
Value="
|
33
|
-
|
14
|
+
!binary "ZGF0ZQ==":
|
15
|
+
- !binary |-
|
16
|
+
U2F0LCAyMiBTZXAgMjAxMiAxMzo0MTo0MyBHTVQ=
|
17
|
+
!binary "c2VydmVy":
|
18
|
+
- !binary |-
|
19
|
+
U2VydmVy
|
20
|
+
!binary "Y29udGVudC10eXBl":
|
21
|
+
- !binary |-
|
22
|
+
dGV4dC94bWw7Y2hhcnNldD1VVEYtOA==
|
23
|
+
!binary "dmFyeQ==":
|
24
|
+
- !binary |-
|
25
|
+
QWNjZXB0LUVuY29kaW5nLFVzZXItQWdlbnQ=
|
26
|
+
!binary "bm5jb2VjdGlvbg==":
|
27
|
+
- !binary |-
|
28
|
+
Y2xvc2U=
|
29
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
30
|
+
- !binary |-
|
31
|
+
Y2h1bmtlZA==
|
32
|
+
body: <?xml version="1.0" encoding="UTF-8"?><CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header
|
33
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1JSAQHGP0J83193QSD6B</RequestId><Arguments><Argument
|
34
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
|
35
|
+
Value="1"></Argument><Argument Name="Operation" Value="CartCreate"></Argument><Argument
|
36
|
+
Name="Timestamp" Value="2012-09-22T13:41:48Z"></Argument><Argument Name="Version"
|
37
|
+
Value="2011-08-01"></Argument><Argument Name="AssociateTag" Value="phoet-20"></Argument><Argument
|
38
|
+
Name="Signature" Value="azye6O+pDH9+izpqWOr8V3cF/QL/8jMmzkIpSi82W5A="></Argument><Argument
|
39
|
+
Name="Item.0.ASIN" Value="1430218150"></Argument><Argument Name="AWSAccessKeyId"
|
40
|
+
Value="AKIAIBNLWSCV5OXMPD6A"></Argument></Arguments><RequestProcessingTime>0.143931865692139</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartCreateRequest><Items><Item><ASIN>1430218150</ASIN><Quantity>1</Quantity></Item></Items></CartCreateRequest></Request><CartId>175-3937755-6673701</CartId><HMAC>/G/jZHtE1UYOTzdcgcjY0L9Y4TI=</HMAC><URLEncodedHMAC>%2FG%2FjZHtE1UYOTzdcgcjY0L9Y4TI%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=175-3937755-6673701%26associate-id=phoet-20%26hmac=/G/jZHtE1UYOTzdcgcjY0L9Y4TI=%26SubscriptionId=AKIAIBNLWSCV5OXMPD6A%26MergeCart=False</PurchaseURL><SubTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></SubTotal><CartItem><CartItemId>C3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
41
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartCreateResponse>
|
34
42
|
http_version: '1.1'
|
35
43
|
- !ruby/struct:VCR::HTTPInteraction
|
36
44
|
request: !ruby/struct:VCR::Request
|
37
45
|
method: :get
|
38
|
-
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=
|
46
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAIBNLWSCV5OXMPD6A&AssociateTag=phoet-20&CartId=175-3937755-6673701&HMAC=/G/jZHtE1UYOTzdcgcjY0L9Y4TI=&Operation=CartClear&Service=AWSECommerceService&Signature=tPPttVCiWsiWf3Yje4y3BSB1PdiOMYXxTO6P+bibaKA=&Timestamp=2012-09-22T13:41:48Z&Version=2011-08-01
|
39
47
|
body:
|
40
48
|
headers:
|
41
49
|
response: !ruby/struct:VCR::Response
|
42
50
|
status: !ruby/struct:VCR::ResponseStatus
|
43
51
|
code: 200
|
44
|
-
message:
|
52
|
+
message: !binary |-
|
53
|
+
T0s=
|
45
54
|
headers:
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
55
|
+
!binary "ZGF0ZQ==":
|
56
|
+
- !binary |-
|
57
|
+
U2F0LCAyMiBTZXAgMjAxMiAxMzo0MTo0MyBHTVQ=
|
58
|
+
!binary "c2VydmVy":
|
59
|
+
- !binary |-
|
60
|
+
U2VydmVy
|
61
|
+
!binary "Y29udGVudC10eXBl":
|
62
|
+
- !binary |-
|
63
|
+
dGV4dC94bWw7Y2hhcnNldD1VVEYtOA==
|
64
|
+
!binary "dmFyeQ==":
|
65
|
+
- !binary |-
|
66
|
+
QWNjZXB0LUVuY29kaW5nLFVzZXItQWdlbnQ=
|
67
|
+
!binary "bm5jb2VjdGlvbg==":
|
68
|
+
- !binary |-
|
69
|
+
Y2xvc2U=
|
70
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
71
|
+
- !binary |-
|
72
|
+
Y2h1bmtlZA==
|
73
|
+
body: <?xml version="1.0" encoding="UTF-8"?><CartClearResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header
|
74
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1WBFMPAN60H1SKHBCQFE</RequestId><Arguments><Argument
|
75
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Operation"
|
76
|
+
Value="CartClear"></Argument><Argument Name="Timestamp" Value="2012-09-22T13:41:48Z"></Argument><Argument
|
77
|
+
Name="Version" Value="2011-08-01"></Argument><Argument Name="AssociateTag" Value="phoet-20"></Argument><Argument
|
78
|
+
Name="Signature" Value="tPPttVCiWsiWf3Yje4y3BSB1PdiOMYXxTO6P+bibaKA="></Argument><Argument
|
79
|
+
Name="HMAC" Value="/G/jZHtE1UYOTzdcgcjY0L9Y4TI="></Argument><Argument Name="CartId"
|
80
|
+
Value="175-3937755-6673701"></Argument><Argument Name="AWSAccessKeyId" Value="AKIAIBNLWSCV5OXMPD6A"></Argument></Arguments><RequestProcessingTime>0.048119068145752</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartClearRequest><CartId>175-3937755-6673701</CartId><HMAC>/G/jZHtE1UYOTzdcgcjY0L9Y4TI=</HMAC></CartClearRequest></Request><CartId>175-3937755-6673701</CartId><HMAC>/G/jZHtE1UYOTzdcgcjY0L9Y4TI=</HMAC><URLEncodedHMAC>%2FG%2FjZHtE1UYOTzdcgcjY0L9Y4TI%3D</URLEncodedHMAC></Cart></CartClearResponse>
|
66
81
|
http_version: '1.1'
|
@@ -2,66 +2,81 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=
|
5
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAIBNLWSCV5OXMPD6A&AssociateTag=phoet-20&Item.0.ASIN=1430218150&Item.0.Quantity=1&Operation=CartCreate&Service=AWSECommerceService&Signature=azye6O+pDH9+izpqWOr8V3cF/QL/8jMmzkIpSi82W5A=&Timestamp=2012-09-22T13:41:48Z&Version=2011-08-01
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
response: !ruby/struct:VCR::Response
|
9
9
|
status: !ruby/struct:VCR::ResponseStatus
|
10
10
|
code: 200
|
11
|
-
message:
|
11
|
+
message: !binary |-
|
12
|
+
T0s=
|
12
13
|
headers:
|
13
|
-
|
14
|
-
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
Value="
|
33
|
-
|
14
|
+
!binary "ZGF0ZQ==":
|
15
|
+
- !binary |-
|
16
|
+
U2F0LCAyMiBTZXAgMjAxMiAxMzo0MTo0NCBHTVQ=
|
17
|
+
!binary "c2VydmVy":
|
18
|
+
- !binary |-
|
19
|
+
U2VydmVy
|
20
|
+
!binary "Y29udGVudC10eXBl":
|
21
|
+
- !binary |-
|
22
|
+
dGV4dC94bWw7Y2hhcnNldD1VVEYtOA==
|
23
|
+
!binary "dmFyeQ==":
|
24
|
+
- !binary |-
|
25
|
+
QWNjZXB0LUVuY29kaW5nLFVzZXItQWdlbnQ=
|
26
|
+
!binary "bm5jb2VjdGlvbg==":
|
27
|
+
- !binary |-
|
28
|
+
Y2xvc2U=
|
29
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
30
|
+
- !binary |-
|
31
|
+
Y2h1bmtlZA==
|
32
|
+
body: <?xml version="1.0" encoding="UTF-8"?><CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header
|
33
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1N66H1342SYN0JHMAYCM</RequestId><Arguments><Argument
|
34
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
|
35
|
+
Value="1"></Argument><Argument Name="Operation" Value="CartCreate"></Argument><Argument
|
36
|
+
Name="Timestamp" Value="2012-09-22T13:41:48Z"></Argument><Argument Name="Version"
|
37
|
+
Value="2011-08-01"></Argument><Argument Name="AssociateTag" Value="phoet-20"></Argument><Argument
|
38
|
+
Name="Signature" Value="azye6O+pDH9+izpqWOr8V3cF/QL/8jMmzkIpSi82W5A="></Argument><Argument
|
39
|
+
Name="Item.0.ASIN" Value="1430218150"></Argument><Argument Name="AWSAccessKeyId"
|
40
|
+
Value="AKIAIBNLWSCV5OXMPD6A"></Argument></Arguments><RequestProcessingTime>0.132643938064575</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartCreateRequest><Items><Item><ASIN>1430218150</ASIN><Quantity>1</Quantity></Item></Items></CartCreateRequest></Request><CartId>182-9580008-8538227</CartId><HMAC>phL/4mR6wxDQK0Ulc3/FTerXrfc=</HMAC><URLEncodedHMAC>phL%2F4mR6wxDQK0Ulc3%2FFTerXrfc%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=182-9580008-8538227%26associate-id=phoet-20%26hmac=phL/4mR6wxDQK0Ulc3/FTerXrfc=%26SubscriptionId=AKIAIBNLWSCV5OXMPD6A%26MergeCart=False</PurchaseURL><SubTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></SubTotal><CartItem><CartItemId>C3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
41
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartCreateResponse>
|
34
42
|
http_version: '1.1'
|
35
43
|
- !ruby/struct:VCR::HTTPInteraction
|
36
44
|
request: !ruby/struct:VCR::Request
|
37
45
|
method: :get
|
38
|
-
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=
|
46
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAIBNLWSCV5OXMPD6A&AssociateTag=phoet-20&CartId=182-9580008-8538227&HMAC=phL/4mR6wxDQK0Ulc3/FTerXrfc=&Operation=CartGet&Service=AWSECommerceService&Signature=Z1KoqnGf4dNrpQHvJhmnfD+ZRoTPcQ+P4qt1izpk+kw=&Timestamp=2012-09-22T13:41:49Z&Version=2011-08-01
|
39
47
|
body:
|
40
48
|
headers:
|
41
49
|
response: !ruby/struct:VCR::Response
|
42
50
|
status: !ruby/struct:VCR::ResponseStatus
|
43
51
|
code: 200
|
44
|
-
message:
|
52
|
+
message: !binary |-
|
53
|
+
T0s=
|
45
54
|
headers:
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
55
|
+
!binary "ZGF0ZQ==":
|
56
|
+
- !binary |-
|
57
|
+
U2F0LCAyMiBTZXAgMjAxMiAxMzo0MTo0NCBHTVQ=
|
58
|
+
!binary "c2VydmVy":
|
59
|
+
- !binary |-
|
60
|
+
U2VydmVy
|
61
|
+
!binary "Y29udGVudC10eXBl":
|
62
|
+
- !binary |-
|
63
|
+
dGV4dC94bWw7Y2hhcnNldD1VVEYtOA==
|
64
|
+
!binary "dmFyeQ==":
|
65
|
+
- !binary |-
|
66
|
+
QWNjZXB0LUVuY29kaW5nLFVzZXItQWdlbnQ=
|
67
|
+
!binary "bm5jb2VjdGlvbg==":
|
68
|
+
- !binary |-
|
69
|
+
Y2xvc2U=
|
70
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
71
|
+
- !binary |-
|
72
|
+
Y2h1bmtlZA==
|
73
|
+
body: <?xml version="1.0" encoding="UTF-8"?><CartGetResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header
|
74
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1XTQKNF247XGMMFYG8Z5</RequestId><Arguments><Argument
|
75
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Operation"
|
76
|
+
Value="CartGet"></Argument><Argument Name="Timestamp" Value="2012-09-22T13:41:49Z"></Argument><Argument
|
77
|
+
Name="Version" Value="2011-08-01"></Argument><Argument Name="AssociateTag" Value="phoet-20"></Argument><Argument
|
78
|
+
Name="Signature" Value="Z1KoqnGf4dNrpQHvJhmnfD+ZRoTPcQ+P4qt1izpk+kw="></Argument><Argument
|
79
|
+
Name="HMAC" Value="phL/4mR6wxDQK0Ulc3/FTerXrfc="></Argument><Argument Name="CartId"
|
80
|
+
Value="182-9580008-8538227"></Argument><Argument Name="AWSAccessKeyId" Value="AKIAIBNLWSCV5OXMPD6A"></Argument></Arguments><RequestProcessingTime>0.0659627914428711</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartGetRequest><CartId>182-9580008-8538227</CartId><HMAC>phL/4mR6wxDQK0Ulc3/FTerXrfc=</HMAC></CartGetRequest></Request><CartId>182-9580008-8538227</CartId><HMAC>phL/4mR6wxDQK0Ulc3/FTerXrfc=</HMAC><URLEncodedHMAC>phL%2F4mR6wxDQK0Ulc3%2FFTerXrfc%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=182-9580008-8538227%26associate-id=phoet-20%26hmac=phL/4mR6wxDQK0Ulc3/FTerXrfc=%26SubscriptionId=AKIAIBNLWSCV5OXMPD6A%26MergeCart=False</PurchaseURL><SubTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></SubTotal><CartItem><CartItemId>C3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
81
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartGetResponse>
|
67
82
|
http_version: '1.1'
|
@@ -2,69 +2,84 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=
|
5
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAIBNLWSCV5OXMPD6A&AssociateTag=phoet-20&Item.0.ASIN=1430218150&Item.0.Quantity=1&Operation=CartCreate&Service=AWSECommerceService&Signature=Do7PELmiu8Iw19qir+0wMZD9JEt/WOYxAQrFC378l8A=&Timestamp=2012-09-22T13:41:50Z&Version=2011-08-01
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
response: !ruby/struct:VCR::Response
|
9
9
|
status: !ruby/struct:VCR::ResponseStatus
|
10
10
|
code: 200
|
11
|
-
message:
|
11
|
+
message: !binary |-
|
12
|
+
T0s=
|
12
13
|
headers:
|
13
|
-
|
14
|
-
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
Value="
|
33
|
-
|
14
|
+
!binary "ZGF0ZQ==":
|
15
|
+
- !binary |-
|
16
|
+
U2F0LCAyMiBTZXAgMjAxMiAxMzo0MTo0NiBHTVQ=
|
17
|
+
!binary "c2VydmVy":
|
18
|
+
- !binary |-
|
19
|
+
U2VydmVy
|
20
|
+
!binary "Y29udGVudC10eXBl":
|
21
|
+
- !binary |-
|
22
|
+
dGV4dC94bWw7Y2hhcnNldD1VVEYtOA==
|
23
|
+
!binary "dmFyeQ==":
|
24
|
+
- !binary |-
|
25
|
+
QWNjZXB0LUVuY29kaW5nLFVzZXItQWdlbnQ=
|
26
|
+
!binary "bm5jb2VjdGlvbg==":
|
27
|
+
- !binary |-
|
28
|
+
Y2xvc2U=
|
29
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
30
|
+
- !binary |-
|
31
|
+
Y2h1bmtlZA==
|
32
|
+
body: <?xml version="1.0" encoding="UTF-8"?><CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header
|
33
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>092B6SK3VDTRYT8MV1X0</RequestId><Arguments><Argument
|
34
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
|
35
|
+
Value="1"></Argument><Argument Name="Operation" Value="CartCreate"></Argument><Argument
|
36
|
+
Name="Timestamp" Value="2012-09-22T13:41:50Z"></Argument><Argument Name="Version"
|
37
|
+
Value="2011-08-01"></Argument><Argument Name="AssociateTag" Value="phoet-20"></Argument><Argument
|
38
|
+
Name="Signature" Value="Do7PELmiu8Iw19qir+0wMZD9JEt/WOYxAQrFC378l8A="></Argument><Argument
|
39
|
+
Name="Item.0.ASIN" Value="1430218150"></Argument><Argument Name="AWSAccessKeyId"
|
40
|
+
Value="AKIAIBNLWSCV5OXMPD6A"></Argument></Arguments><RequestProcessingTime>0.158433198928833</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartCreateRequest><Items><Item><ASIN>1430218150</ASIN><Quantity>1</Quantity></Item></Items></CartCreateRequest></Request><CartId>179-4109236-7175246</CartId><HMAC>+SCIO8m4KLycv91ERdS+RKaD7Qs=</HMAC><URLEncodedHMAC>%2BSCIO8m4KLycv91ERdS%2BRKaD7Qs%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=179-4109236-7175246%26associate-id=phoet-20%26hmac=%2BSCIO8m4KLycv91ERdS%2BRKaD7Qs=%26SubscriptionId=AKIAIBNLWSCV5OXMPD6A%26MergeCart=False</PurchaseURL><SubTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></SubTotal><CartItem><CartItemId>C3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
|
41
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartCreateResponse>
|
34
42
|
http_version: '1.1'
|
35
43
|
- !ruby/struct:VCR::HTTPInteraction
|
36
44
|
request: !ruby/struct:VCR::Request
|
37
45
|
method: :get
|
38
|
-
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=
|
46
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAIBNLWSCV5OXMPD6A&AssociateTag=phoet-20&CartId=179-4109236-7175246&HMAC=+SCIO8m4KLycv91ERdS+RKaD7Qs=&Item.0.Action=SaveForLater&Item.0.CartItemId=C3G241HVLLB8N6&Item.1.CartItemId=C3G241HVLLB8N6&Item.1.Quantity=7&Operation=CartModify&Service=AWSECommerceService&Signature=RMPBaTBoVchPtiQ9pATyrBR2u81X2gab9Q9ozh6hxDE=&Timestamp=2012-09-22T13:41:51Z&Version=2011-08-01
|
39
47
|
body:
|
40
48
|
headers:
|
41
49
|
response: !ruby/struct:VCR::Response
|
42
50
|
status: !ruby/struct:VCR::ResponseStatus
|
43
51
|
code: 200
|
44
|
-
message:
|
52
|
+
message: !binary |-
|
53
|
+
T0s=
|
45
54
|
headers:
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
Name="
|
67
|
-
Value="
|
68
|
-
Name="
|
69
|
-
|
55
|
+
!binary "ZGF0ZQ==":
|
56
|
+
- !binary |-
|
57
|
+
U2F0LCAyMiBTZXAgMjAxMiAxMzo0MTo0NiBHTVQ=
|
58
|
+
!binary "c2VydmVy":
|
59
|
+
- !binary |-
|
60
|
+
U2VydmVy
|
61
|
+
!binary "Y29udGVudC10eXBl":
|
62
|
+
- !binary |-
|
63
|
+
dGV4dC94bWw7Y2hhcnNldD1VVEYtOA==
|
64
|
+
!binary "dmFyeQ==":
|
65
|
+
- !binary |-
|
66
|
+
QWNjZXB0LUVuY29kaW5nLFVzZXItQWdlbnQ=
|
67
|
+
!binary "bm5jb2VjdGlvbg==":
|
68
|
+
- !binary |-
|
69
|
+
Y2xvc2U=
|
70
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
71
|
+
- !binary |-
|
72
|
+
Y2h1bmtlZA==
|
73
|
+
body: <?xml version="1.0" encoding="UTF-8"?><CartModifyResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header
|
74
|
+
Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1V4AM48Z43V5Z2V8GCZF</RequestId><Arguments><Argument
|
75
|
+
Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.1.Quantity"
|
76
|
+
Value="7"></Argument><Argument Name="Operation" Value="CartModify"></Argument><Argument
|
77
|
+
Name="Item.0.CartItemId" Value="C3G241HVLLB8N6"></Argument><Argument Name="Timestamp"
|
78
|
+
Value="2012-09-22T13:41:51Z"></Argument><Argument Name="Version" Value="2011-08-01"></Argument><Argument
|
79
|
+
Name="AssociateTag" Value="phoet-20"></Argument><Argument Name="Item.0.Action"
|
80
|
+
Value="SaveForLater"></Argument><Argument Name="Signature" Value="RMPBaTBoVchPtiQ9pATyrBR2u81X2gab9Q9ozh6hxDE="></Argument><Argument
|
81
|
+
Name="Item.1.CartItemId" Value="C3G241HVLLB8N6"></Argument><Argument Name="HMAC"
|
82
|
+
Value="+SCIO8m4KLycv91ERdS+RKaD7Qs="></Argument><Argument Name="CartId" Value="179-4109236-7175246"></Argument><Argument
|
83
|
+
Name="AWSAccessKeyId" Value="AKIAIBNLWSCV5OXMPD6A"></Argument></Arguments><RequestProcessingTime>0.0666670799255371</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartModifyRequest><CartId>179-4109236-7175246</CartId><HMAC>+SCIO8m4KLycv91ERdS+RKaD7Qs=</HMAC><Items><Item><Action>SaveForLater</Action><CartItemId>C3G241HVLLB8N6</CartItemId></Item><Item><CartItemId>C3G241HVLLB8N6</CartItemId><Quantity>7</Quantity></Item></Items></CartModifyRequest></Request><CartId>179-4109236-7175246</CartId><HMAC>+SCIO8m4KLycv91ERdS+RKaD7Qs=</HMAC><URLEncodedHMAC>%2BSCIO8m4KLycv91ERdS%2BRKaD7Qs%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=179-4109236-7175246%26associate-id=phoet-20%26hmac=%2BSCIO8m4KLycv91ERdS%2BRKaD7Qs=%26SubscriptionId=AKIAIBNLWSCV5OXMPD6A%26MergeCart=False</PurchaseURL><SubTotal><Amount>18473</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$184.73</FormattedPrice></SubTotal><SavedForLaterItems><SubTotal><Amount>18473</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$184.73</FormattedPrice></SubTotal><SavedForLaterItem><CartItemId>S3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><Quantity>7</Quantity><Title>Learn
|
84
|
+
Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>18473</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$184.73</FormattedPrice></ItemTotal></SavedForLaterItem></SavedForLaterItems></Cart></CartModifyResponse>
|
70
85
|
http_version: '1.1'
|
@@ -2,34 +2,40 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=
|
5
|
+
uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAIBNLWSCV5OXMPD6A&AssociateTag=phoet-20&BrowseNodeId=599826&Operation=BrowseNodeLookup&ResponseGroup=BrowseNodeInfo&Service=AWSECommerceService&Signature=JR37iX+Dg2nrP56PRM3y844/H0wESfuTcaUUHaAS4SY=&Timestamp=2012-09-22T13:41:46Z&Version=2011-08-01
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
response: !ruby/struct:VCR::Response
|
9
9
|
status: !ruby/struct:VCR::ResponseStatus
|
10
10
|
code: 200
|
11
|
-
message:
|
11
|
+
message: !binary |-
|
12
|
+
T0s=
|
12
13
|
headers:
|
13
|
-
|
14
|
-
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
Value="
|
14
|
+
!binary "ZGF0ZQ==":
|
15
|
+
- !binary |-
|
16
|
+
U2F0LCAyMiBTZXAgMjAxMiAxMzo0MTo0MiBHTVQ=
|
17
|
+
!binary "c2VydmVy":
|
18
|
+
- !binary |-
|
19
|
+
U2VydmVy
|
20
|
+
!binary "Y29udGVudC10eXBl":
|
21
|
+
- !binary |-
|
22
|
+
dGV4dC94bWw7Y2hhcnNldD1VVEYtOA==
|
23
|
+
!binary "dmFyeQ==":
|
24
|
+
- !binary |-
|
25
|
+
QWNjZXB0LUVuY29kaW5nLFVzZXItQWdlbnQ=
|
26
|
+
!binary "bm5jb2VjdGlvbg==":
|
27
|
+
- !binary |-
|
28
|
+
Y2xvc2U=
|
29
|
+
!binary "dHJhbnNmZXItZW5jb2Rpbmc=":
|
30
|
+
- !binary |-
|
31
|
+
Y2h1bmtlZA==
|
32
|
+
body: <BrowseNodeLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><RequestId>0966442c-04b1-4174-bb51-e6cf37f3fe24</RequestId><Arguments><Argument
|
33
|
+
Name="Operation" Value="BrowseNodeLookup"/><Argument Name="Service" Value="AWSECommerceService"/><Argument
|
34
|
+
Name="Signature" Value="JR37iX+Dg2nrP56PRM3y844/H0wESfuTcaUUHaAS4SY="/><Argument
|
35
|
+
Name="AssociateTag" Value="phoet-20"/><Argument Name="Version" Value="2011-08-01"/><Argument
|
36
|
+
Name="BrowseNodeId" Value="599826"/><Argument Name="AWSAccessKeyId" Value="AKIAIBNLWSCV5OXMPD6A"/><Argument
|
37
|
+
Name="Timestamp" Value="2012-09-22T13:41:46Z"/><Argument Name="ResponseGroup"
|
38
|
+
Value="BrowseNodeInfo"/></Arguments><RequestProcessingTime>0.008533</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
39
|
Sets</Name><Ancestors><BrowseNode><BrowseNodeId>2998369011</BrowseNodeId><Name>DVD
|
34
40
|
Custom Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2644982011</BrowseNodeId><Name>Custom
|
35
41
|
Stores</Name><Ancestors><BrowseNode><BrowseNodeId>2644981011</BrowseNodeId><Name>Specialty
|