sucker 1.2.0 → 1.3.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.md +45 -20
- data/lib/sucker/parameters.rb +11 -7
- data/lib/sucker/parameters.rbc +723 -0
- data/lib/sucker/request.rb +52 -154
- data/lib/sucker/request.rbc +2719 -0
- data/lib/sucker/response.rb +14 -36
- data/lib/sucker/response.rbc +1307 -0
- data/lib/sucker/version.rb +3 -1
- data/lib/sucker/version.rbc +130 -0
- data/lib/sucker.rb +4 -2
- data/lib/sucker.rbc +286 -0
- data/spec/fixtures/cassette_library/0394751221.yml +26 -0
- data/spec/fixtures/cassette_library/0415246334.yml +26 -0
- data/spec/fixtures/cassette_library/0679753354.yml +26 -0
- data/spec/fixtures/cassette_library/0816614024-0007218095.yml +26 -0
- data/spec/fixtures/cassette_library/0816614024-0143105825.yml +26 -0
- data/spec/fixtures/cassette_library/0816614024.yml +26 -0
- data/spec/fixtures/cassette_library/482224816x.yml +26 -0
- data/spec/fixtures/cassette_library/816614024.yml +151 -0
- data/spec/fixtures/cassette_library/a2h6nh4sqyfz4m.yml +26 -0
- data/spec/fixtures/cassette_library/a2jyso6w6kep83.yml +26 -0
- data/spec/fixtures/cassette_library/author-lacan-or-deleuze-and-not-fiction.yml +26 -0
- data/spec/fixtures/cassette_library/b000aspues.yml +26 -0
- data/spec/fixtures/cassette_library/deleuze-binding-kindle.yml +26 -0
- data/spec/fixtures/cassette_library/deleuze.yml +26 -0
- data/spec/fixtures/cassette_library/george-orwell.yml +26 -0
- data/spec/fixtures/cassette_library/spec/sucker/request.yml +4 -4
- data/spec/fixtures/cassette_library/spec/sucker/response.yml +3 -3
- data/spec/spec_helper.rbc +230 -0
- data/spec/sucker/parameters_spec.rbc +1476 -0
- data/spec/sucker/request_spec.rb +34 -217
- data/spec/sucker/request_spec.rbc +2473 -0
- data/spec/sucker/response_spec.rb +46 -95
- data/spec/sucker/response_spec.rbc +2854 -0
- data/spec/sucker_spec.rbc +287 -0
- data/spec/support/amazon_credentials.rbc +154 -0
- data/spec/support/asins.rbc +335 -0
- data/spec/support/vcr.rbc +356 -0
- metadata +72 -96
- data/CHANGELOG.md +0 -47
data/lib/sucker/version.rb
CHANGED
@@ -0,0 +1,130 @@
|
|
1
|
+
!RBIX
|
2
|
+
0
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
28
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
2
|
40
|
+
11
|
41
|
+
I
|
42
|
+
6
|
43
|
+
I
|
44
|
+
0
|
45
|
+
I
|
46
|
+
0
|
47
|
+
I
|
48
|
+
0
|
49
|
+
n
|
50
|
+
p
|
51
|
+
5
|
52
|
+
x
|
53
|
+
6
|
54
|
+
Sucker
|
55
|
+
x
|
56
|
+
11
|
57
|
+
open_module
|
58
|
+
x
|
59
|
+
15
|
60
|
+
__module_init__
|
61
|
+
M
|
62
|
+
1
|
63
|
+
n
|
64
|
+
n
|
65
|
+
x
|
66
|
+
6
|
67
|
+
Sucker
|
68
|
+
i
|
69
|
+
12
|
70
|
+
5
|
71
|
+
66
|
72
|
+
65
|
73
|
+
7
|
74
|
+
0
|
75
|
+
7
|
76
|
+
1
|
77
|
+
64
|
78
|
+
49
|
79
|
+
2
|
80
|
+
2
|
81
|
+
11
|
82
|
+
I
|
83
|
+
3
|
84
|
+
I
|
85
|
+
0
|
86
|
+
I
|
87
|
+
0
|
88
|
+
I
|
89
|
+
0
|
90
|
+
n
|
91
|
+
p
|
92
|
+
3
|
93
|
+
x
|
94
|
+
7
|
95
|
+
VERSION
|
96
|
+
s
|
97
|
+
9
|
98
|
+
1.3.0.pre
|
99
|
+
x
|
100
|
+
9
|
101
|
+
const_set
|
102
|
+
p
|
103
|
+
3
|
104
|
+
I
|
105
|
+
2
|
106
|
+
I
|
107
|
+
4
|
108
|
+
I
|
109
|
+
c
|
110
|
+
x
|
111
|
+
52
|
112
|
+
/Users/hakanensari/code/sucker/lib/sucker/version.rb
|
113
|
+
p
|
114
|
+
0
|
115
|
+
x
|
116
|
+
13
|
117
|
+
attach_method
|
118
|
+
p
|
119
|
+
3
|
120
|
+
I
|
121
|
+
0
|
122
|
+
I
|
123
|
+
3
|
124
|
+
I
|
125
|
+
1c
|
126
|
+
x
|
127
|
+
52
|
128
|
+
/Users/hakanensari/code/sucker/lib/sucker/version.rb
|
129
|
+
p
|
130
|
+
0
|
data/lib/sucker.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
1
3
|
require 'sucker/parameters'
|
2
4
|
require 'sucker/request'
|
3
5
|
require 'sucker/response'
|
@@ -11,8 +13,8 @@ module Sucker
|
|
11
13
|
#
|
12
14
|
# worker = Sucker.new(
|
13
15
|
# :locale => :us,
|
14
|
-
# :key =>
|
15
|
-
# :secret =>
|
16
|
+
# :key => 'API KEY',
|
17
|
+
# :secret => 'API SECRET')
|
16
18
|
#
|
17
19
|
def self.new(args={})
|
18
20
|
Sucker::Request.new(args)
|
data/lib/sucker.rbc
ADDED
@@ -0,0 +1,286 @@
|
|
1
|
+
!RBIX
|
2
|
+
0
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
55
|
13
|
+
5
|
14
|
+
7
|
15
|
+
0
|
16
|
+
64
|
17
|
+
47
|
18
|
+
49
|
19
|
+
1
|
20
|
+
1
|
21
|
+
15
|
22
|
+
5
|
23
|
+
7
|
24
|
+
2
|
25
|
+
64
|
26
|
+
47
|
27
|
+
49
|
28
|
+
1
|
29
|
+
1
|
30
|
+
15
|
31
|
+
5
|
32
|
+
7
|
33
|
+
3
|
34
|
+
64
|
35
|
+
47
|
36
|
+
49
|
37
|
+
1
|
38
|
+
1
|
39
|
+
15
|
40
|
+
99
|
41
|
+
7
|
42
|
+
4
|
43
|
+
65
|
44
|
+
49
|
45
|
+
5
|
46
|
+
2
|
47
|
+
13
|
48
|
+
99
|
49
|
+
12
|
50
|
+
7
|
51
|
+
6
|
52
|
+
12
|
53
|
+
7
|
54
|
+
7
|
55
|
+
12
|
56
|
+
65
|
57
|
+
12
|
58
|
+
49
|
59
|
+
8
|
60
|
+
4
|
61
|
+
15
|
62
|
+
49
|
63
|
+
6
|
64
|
+
0
|
65
|
+
15
|
66
|
+
2
|
67
|
+
11
|
68
|
+
I
|
69
|
+
6
|
70
|
+
I
|
71
|
+
0
|
72
|
+
I
|
73
|
+
0
|
74
|
+
I
|
75
|
+
0
|
76
|
+
n
|
77
|
+
p
|
78
|
+
9
|
79
|
+
s
|
80
|
+
17
|
81
|
+
sucker/parameters
|
82
|
+
x
|
83
|
+
7
|
84
|
+
require
|
85
|
+
s
|
86
|
+
14
|
87
|
+
sucker/request
|
88
|
+
s
|
89
|
+
15
|
90
|
+
sucker/response
|
91
|
+
x
|
92
|
+
6
|
93
|
+
Sucker
|
94
|
+
x
|
95
|
+
11
|
96
|
+
open_module
|
97
|
+
x
|
98
|
+
15
|
99
|
+
__module_init__
|
100
|
+
M
|
101
|
+
1
|
102
|
+
n
|
103
|
+
n
|
104
|
+
x
|
105
|
+
6
|
106
|
+
Sucker
|
107
|
+
i
|
108
|
+
13
|
109
|
+
5
|
110
|
+
66
|
111
|
+
99
|
112
|
+
7
|
113
|
+
0
|
114
|
+
7
|
115
|
+
1
|
116
|
+
65
|
117
|
+
5
|
118
|
+
49
|
119
|
+
2
|
120
|
+
4
|
121
|
+
11
|
122
|
+
I
|
123
|
+
5
|
124
|
+
I
|
125
|
+
0
|
126
|
+
I
|
127
|
+
0
|
128
|
+
I
|
129
|
+
0
|
130
|
+
n
|
131
|
+
p
|
132
|
+
3
|
133
|
+
x
|
134
|
+
3
|
135
|
+
new
|
136
|
+
M
|
137
|
+
1
|
138
|
+
n
|
139
|
+
n
|
140
|
+
x
|
141
|
+
3
|
142
|
+
new
|
143
|
+
i
|
144
|
+
45
|
145
|
+
23
|
146
|
+
0
|
147
|
+
10
|
148
|
+
14
|
149
|
+
44
|
150
|
+
43
|
151
|
+
0
|
152
|
+
78
|
153
|
+
49
|
154
|
+
1
|
155
|
+
1
|
156
|
+
19
|
157
|
+
0
|
158
|
+
15
|
159
|
+
45
|
160
|
+
2
|
161
|
+
3
|
162
|
+
43
|
163
|
+
4
|
164
|
+
13
|
165
|
+
71
|
166
|
+
5
|
167
|
+
47
|
168
|
+
9
|
169
|
+
39
|
170
|
+
47
|
171
|
+
49
|
172
|
+
6
|
173
|
+
0
|
174
|
+
13
|
175
|
+
20
|
176
|
+
0
|
177
|
+
47
|
178
|
+
49
|
179
|
+
7
|
180
|
+
1
|
181
|
+
15
|
182
|
+
8
|
183
|
+
44
|
184
|
+
20
|
185
|
+
0
|
186
|
+
49
|
187
|
+
5
|
188
|
+
1
|
189
|
+
11
|
190
|
+
I
|
191
|
+
4
|
192
|
+
I
|
193
|
+
1
|
194
|
+
I
|
195
|
+
0
|
196
|
+
I
|
197
|
+
1
|
198
|
+
n
|
199
|
+
p
|
200
|
+
8
|
201
|
+
x
|
202
|
+
4
|
203
|
+
Hash
|
204
|
+
x
|
205
|
+
16
|
206
|
+
new_from_literal
|
207
|
+
x
|
208
|
+
6
|
209
|
+
Sucker
|
210
|
+
n
|
211
|
+
x
|
212
|
+
7
|
213
|
+
Request
|
214
|
+
x
|
215
|
+
3
|
216
|
+
new
|
217
|
+
x
|
218
|
+
8
|
219
|
+
allocate
|
220
|
+
x
|
221
|
+
10
|
222
|
+
initialize
|
223
|
+
p
|
224
|
+
5
|
225
|
+
I
|
226
|
+
-1
|
227
|
+
I
|
228
|
+
13
|
229
|
+
I
|
230
|
+
e
|
231
|
+
I
|
232
|
+
14
|
233
|
+
I
|
234
|
+
2d
|
235
|
+
x
|
236
|
+
44
|
237
|
+
/Users/hakanensari/code/sucker/lib/sucker.rb
|
238
|
+
p
|
239
|
+
1
|
240
|
+
x
|
241
|
+
4
|
242
|
+
args
|
243
|
+
x
|
244
|
+
13
|
245
|
+
attach_method
|
246
|
+
p
|
247
|
+
3
|
248
|
+
I
|
249
|
+
2
|
250
|
+
I
|
251
|
+
13
|
252
|
+
I
|
253
|
+
d
|
254
|
+
x
|
255
|
+
44
|
256
|
+
/Users/hakanensari/code/sucker/lib/sucker.rb
|
257
|
+
p
|
258
|
+
0
|
259
|
+
x
|
260
|
+
13
|
261
|
+
attach_method
|
262
|
+
p
|
263
|
+
9
|
264
|
+
I
|
265
|
+
0
|
266
|
+
I
|
267
|
+
3
|
268
|
+
I
|
269
|
+
9
|
270
|
+
I
|
271
|
+
4
|
272
|
+
I
|
273
|
+
12
|
274
|
+
I
|
275
|
+
5
|
276
|
+
I
|
277
|
+
1b
|
278
|
+
I
|
279
|
+
a
|
280
|
+
I
|
281
|
+
37
|
282
|
+
x
|
283
|
+
44
|
284
|
+
/Users/hakanensari/code/sucker/lib/sucker.rb
|
285
|
+
p
|
286
|
+
0
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://ecs.amazonaws.com:80/onca/xml?AWSAccessKeyId=0ZVSQ33MDFPQS8H2PM02&AssociateTag=&IdType=ASIN&ItemId=0394751221&Operation=ItemLookup&ResponseGroup=Images&Service=AWSECommerceService&Signature=wMBomQTA/DVV3L+6zanp0EIJPFFuFokfOhAGsuMG1Rc=&Timestamp=2011-02-17T12:46:51Z&Version=2010-11-01
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Thu, 17 Feb 2011 12:46:51 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" ?><ItemLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header Name="UserAgent" Value="Ruby"></Header></HTTPHeaders><RequestId>b5e14ba7-4d9a-4a70-b09c-7ac0aa30ed60</RequestId><Arguments><Argument Name="Operation" Value="ItemLookup"></Argument><Argument Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Signature" Value="wMBomQTA/DVV3L+6zanp0EIJPFFuFokfOhAGsuMG1Rc="></Argument><Argument Name="AssociateTag"></Argument><Argument Name="Version" Value="2010-11-01"></Argument><Argument Name="ItemId" Value="0394751221"></Argument><Argument Name="IdType" Value="ASIN"></Argument><Argument Name="AWSAccessKeyId" Value="0ZVSQ33MDFPQS8H2PM02"></Argument><Argument Name="Timestamp" Value="2011-02-17T12:46:51Z"></Argument><Argument Name="ResponseGroup" Value="Images"></Argument></Arguments><RequestProcessingTime>0.0147180000000000</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemLookupRequest><Condition>New</Condition><DeliveryMethod>Ship</DeliveryMethod><IdType>ASIN</IdType><MerchantId>Amazon</MerchantId><OfferPage>1</OfferPage><ItemId>0394751221</ItemId><ResponseGroup>Images</ResponseGroup><ReviewPage>1</ReviewPage><ReviewSort>-SubmissionDate</ReviewSort><VariationPage>All</VariationPage></ItemLookupRequest></Request><Item><ASIN>0394751221</ASIN><SmallImage><URL>http://ecx.images-amazon.com/images/I/41RbE1XoSwL._SL75_.jpg</URL><Height Units="pixels">75</Height><Width Units="pixels">49</Width></SmallImage><MediumImage><URL>http://ecx.images-amazon.com/images/I/41RbE1XoSwL._SL160_.jpg</URL><Height Units="pixels">160</Height><Width Units="pixels">104</Width></MediumImage><LargeImage><URL>http://ecx.images-amazon.com/images/I/41RbE1XoSwL.jpg</URL><Height Units="pixels">500</Height><Width Units="pixels">324</Width></LargeImage><ImageSets><ImageSet Category="primary"><SwatchImage><URL>http://ecx.images-amazon.com/images/I/41RbE1XoSwL._SL30_.jpg</URL><Height Units="pixels">30</Height><Width Units="pixels">19</Width></SwatchImage><SmallImage><URL>http://ecx.images-amazon.com/images/I/41RbE1XoSwL._SL75_.jpg</URL><Height Units="pixels">75</Height><Width Units="pixels">49</Width></SmallImage><ThumbnailImage><URL>http://ecx.images-amazon.com/images/I/41RbE1XoSwL._SL75_.jpg</URL><Height Units="pixels">75</Height><Width Units="pixels">49</Width></ThumbnailImage><TinyImage><URL>http://ecx.images-amazon.com/images/I/41RbE1XoSwL._SL110_.jpg</URL><Height Units="pixels">110</Height><Width Units="pixels">71</Width></TinyImage><MediumImage><URL>http://ecx.images-amazon.com/images/I/41RbE1XoSwL._SL160_.jpg</URL><Height Units="pixels">160</Height><Width Units="pixels">104</Width></MediumImage><LargeImage><URL>http://ecx.images-amazon.com/images/I/41RbE1XoSwL.jpg</URL><Height Units="pixels">500</Height><Width Units="pixels">324</Width></LargeImage></ImageSet></ImageSets></Item></Items></ItemLookupResponse>
|
26
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://ecs.amazonaws.com:80/onca/xml?AWSAccessKeyId=0ZVSQ33MDFPQS8H2PM02&AssociateTag=&IdType=ASIN&ItemId=0415246334&Operation=ItemLookup&RelationshipType=AuthorityTitle&ResponseGroup=RelatedItems&Service=AWSECommerceService&Signature=/TYDmjC9pkytyRm2EOvSMPYFoidXiBWt8CqCy/S1j5s=&Timestamp=2011-02-17T12:46:51Z&Version=2010-11-01
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Thu, 17 Feb 2011 12:46:52 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"?><ItemLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header Name="UserAgent" Value="Ruby"></Header></HTTPHeaders><RequestId>13G1SZRDK5Y5GK0DFAMA</RequestId><Arguments><Argument Name="RelationshipType" Value="AuthorityTitle"></Argument><Argument Name="AssociateTag"></Argument><Argument Name="ItemId" Value="0415246334"></Argument><Argument Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Signature" Value="/TYDmjC9pkytyRm2EOvSMPYFoidXiBWt8CqCy/S1j5s="></Argument><Argument Name="ResponseGroup" Value="RelatedItems"></Argument><Argument Name="Operation" Value="ItemLookup"></Argument><Argument Name="IdType" Value="ASIN"></Argument><Argument Name="AWSAccessKeyId" Value="0ZVSQ33MDFPQS8H2PM02"></Argument><Argument Name="Timestamp" Value="2011-02-17T12:46:51Z"></Argument><Argument Name="Version" Value="2010-11-01"></Argument></Arguments><RequestProcessingTime>0.0278329849243164</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemLookupRequest><IdType>ASIN</IdType><ItemId>0415246334</ItemId><ResponseGroup>RelatedItems</ResponseGroup><RelationshipType>AuthorityTitle</RelationshipType></ItemLookupRequest></Request><Item><ASIN>0415246334</ASIN><RelatedItems><Relationship>Parents</Relationship><RelationshipType>AuthorityTitle</RelationshipType><RelatedItemCount>1</RelatedItemCount><RelatedItemPageCount>1</RelatedItemPageCount><RelatedItemPage>1</RelatedItemPage><RelatedItem><Item><ASIN>B000ASPUES</ASIN></Item></RelatedItem></RelatedItems></Item></Items></ItemLookupResponse>
|
26
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://ecs.amazonaws.com:80/onca/xml?AWSAccessKeyId=0ZVSQ33MDFPQS8H2PM02&AssociateTag=&IdType=ASIN&ItemId=0679753354&Operation=ItemLookup&ResponseGroup=AlternateVersions&Service=AWSECommerceService&Signature=+Wqy/LlYObCRugYF4t9+PPemKaECDvE/vixZPTBfcKE=&Timestamp=2011-02-17T12:46:51Z&Version=2010-11-01
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Thu, 17 Feb 2011 12:46:51 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\"?><ItemLookupResponse xmlns=\"http://webservices.amazon.com/AWSECommerceService/2010-11-01\"><OperationRequest><HTTPHeaders><Header Name=\"UserAgent\" Value=\"Ruby\"></Header></HTTPHeaders><RequestId>16AYA5QBPC9TMKV4Q64K</RequestId><Arguments><Argument Name=\"AssociateTag\"></Argument><Argument Name=\"ItemId\" Value=\"0679753354\"></Argument><Argument Name=\"Service\" Value=\"AWSECommerceService\"></Argument><Argument Name=\"Signature\" Value=\"+Wqy/LlYObCRugYF4t9+PPemKaECDvE/vixZPTBfcKE=\"></Argument><Argument Name=\"ResponseGroup\" Value=\"AlternateVersions\"></Argument><Argument Name=\"Operation\" Value=\"ItemLookup\"></Argument><Argument Name=\"IdType\" Value=\"ASIN\"></Argument><Argument Name=\"AWSAccessKeyId\" Value=\"0ZVSQ33MDFPQS8H2PM02\"></Argument><Argument Name=\"Timestamp\" Value=\"2011-02-17T12:46:51Z\"></Argument><Argument Name=\"Version\" Value=\"2010-11-01\"></Argument></Arguments><RequestProcessingTime>0.0489730834960938</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemLookupRequest><IdType>ASIN</IdType><ItemId>0679753354</ItemId><ResponseGroup>AlternateVersions</ResponseGroup></ItemLookupRequest></Request><Item><ASIN>0679753354</ASIN><AlternateVersions><AlternateVersion><ASIN>B000HZIHD0</ASIN><Title>The Order of Things: An Archaeology of the Human Sciences</Title><Binding>Mass Market Paperback</Binding></AlternateVersion><AlternateVersion><ASIN>B000OT88VU</ASIN><Title>The Order of Things: An Archaeology of the Human Sciences</Title><Binding>Kindle Edition</Binding></AlternateVersion><AlternateVersion><ASIN>0415267374</ASIN><Title>Order of Things: An Archaeology of the Human Sciences (Routledge Classics)</Title><Binding>Paperback</Binding></AlternateVersion><AlternateVersion><ASIN>0415040191</ASIN><Title>The Order of Things</Title><Binding>Paperback</Binding></AlternateVersion><AlternateVersion><ASIN>0415267366</ASIN><Title>Order of Things: An Archaeology of the Human Sciences (Routledge Classics)</Title><Binding>Hardcover</Binding></AlternateVersion><AlternateVersion><ASIN>0394719352</ASIN><Title>The Order of Things</Title><Binding>Paperback</Binding></AlternateVersion><AlternateVersion><ASIN>B0007BFJ08</ASIN><Title>The order of things: An archaeology of the human sciences (Social science paperbacks)</Title><Binding>Unknown Binding</Binding></AlternateVersion><AlternateVersion><ASIN>0422718904</ASIN><Title>The order of things: An archaeology of the human sciences; (World of man)</Title><Binding>Hardcover</Binding></AlternateVersion><AlternateVersion><ASIN>039443952X</ASIN><Title>The order of things: An archaeology of the human sciences (World of man)</Title><Binding>Hardcover</Binding></AlternateVersion></AlternateVersions></Item></Items></ItemLookupResponse>"
|
26
|
+
http_version: "1.1"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://ecs.amazonaws.com:80/onca/xml?AWSAccessKeyId=0ZVSQ33MDFPQS8H2PM02&AssociateTag=&IdType=ASIN&ItemId=0816614024,0007218095&Operation=ItemLookup&Service=AWSECommerceService&Signature=f7w3YHu9KLBmBcHzKEp8iqHDQj/5ySzlvOIBvDc7eOk=&Timestamp=2011-02-17T12:46:50Z&Version=2010-11-01
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Thu, 17 Feb 2011 12:46:50 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\" ?><ItemLookupResponse xmlns=\"http://webservices.amazon.com/AWSECommerceService/2010-11-01\"><OperationRequest><HTTPHeaders><Header Name=\"UserAgent\" Value=\"Ruby\"></Header></HTTPHeaders><RequestId>6831b7e8-5e92-4c6f-88c3-4b6ccbc0a10f</RequestId><Arguments><Argument Name=\"Operation\" Value=\"ItemLookup\"></Argument><Argument Name=\"Service\" Value=\"AWSECommerceService\"></Argument><Argument Name=\"Signature\" Value=\"f7w3YHu9KLBmBcHzKEp8iqHDQj/5ySzlvOIBvDc7eOk=\"></Argument><Argument Name=\"AssociateTag\"></Argument><Argument Name=\"Version\" Value=\"2010-11-01\"></Argument><Argument Name=\"ItemId\" Value=\"0816614024,0007218095\"></Argument><Argument Name=\"IdType\" Value=\"ASIN\"></Argument><Argument Name=\"AWSAccessKeyId\" Value=\"0ZVSQ33MDFPQS8H2PM02\"></Argument><Argument Name=\"Timestamp\" Value=\"2011-02-17T12:46:50Z\"></Argument></Arguments><RequestProcessingTime>0.0124010000000000</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemLookupRequest><Condition>New</Condition><DeliveryMethod>Ship</DeliveryMethod><IdType>ASIN</IdType><MerchantId>Amazon</MerchantId><OfferPage>1</OfferPage><ItemId>0816614024</ItemId><ItemId>0007218095</ItemId><ResponseGroup>Small</ResponseGroup><ReviewPage>1</ReviewPage><ReviewSort>-SubmissionDate</ReviewSort><VariationPage>All</VariationPage></ItemLookupRequest><Errors><Error><Code>AWS.InvalidParameterValue</Code><Message>0007218095 is not a valid value for ItemId. Please change this value and retry your request.</Message></Error></Errors></Request><Item><ASIN>0816614024</ASIN><DetailPageURL>http://www.amazon.com/Thousand-Plateaus-Schizophrenia-Gilles-Deleuze/dp/0816614024%3FSubscriptionId%3D0ZVSQ33MDFPQS8H2PM02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0816614024</DetailPageURL><ItemLinks><ItemLink><Description>Technical Details</Description><URL>http://www.amazon.com/Thousand-Plateaus-Schizophrenia-Gilles-Deleuze/dp/tech-data/0816614024%3FSubscriptionId%3D0ZVSQ33MDFPQS8H2PM02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0816614024</URL></ItemLink><ItemLink><Description>Add To Baby Registry</Description><URL>http://www.amazon.com/gp/registry/baby/add-item.html%3Fasin.0%3D0816614024%26SubscriptionId%3D0ZVSQ33MDFPQS8H2PM02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0816614024</URL></ItemLink><ItemLink><Description>Add To Wedding Registry</Description><URL>http://www.amazon.com/gp/registry/wedding/add-item.html%3Fasin.0%3D0816614024%26SubscriptionId%3D0ZVSQ33MDFPQS8H2PM02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0816614024</URL></ItemLink><ItemLink><Description>Add To Wishlist</Description><URL>http://www.amazon.com/gp/registry/wishlist/add-item.html%3Fasin.0%3D0816614024%26SubscriptionId%3D0ZVSQ33MDFPQS8H2PM02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0816614024</URL></ItemLink><ItemLink><Description>Tell A Friend</Description><URL>http://www.amazon.com/gp/pdp/taf/0816614024%3FSubscriptionId%3D0ZVSQ33MDFPQS8H2PM02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0816614024</URL></ItemLink><ItemLink><Description>All Customer Reviews</Description><URL>http://www.amazon.com/review/product/0816614024%3FSubscriptionId%3D0ZVSQ33MDFPQS8H2PM02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0816614024</URL></ItemLink><ItemLink><Description>All Offers</Description><URL>http://www.amazon.com/gp/offer-listing/0816614024%3FSubscriptionId%3D0ZVSQ33MDFPQS8H2PM02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3D0816614024</URL></ItemLink></ItemLinks><ItemAttributes><Author>Gilles Deleuze</Author><Creator Role=\"Contributor\">Felix Guattari</Creator><Manufacturer>Univ Of Minnesota Press</Manufacturer><ProductGroup>Book</ProductGroup><Title>Thousand Plateaus: Capitalism and Schizophrenia</Title></ItemAttributes></Item></Items></ItemLookupResponse>"
|
26
|
+
http_version: "1.1"
|