Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (22 sloc) 0.879 kb
7347508 @hakanensari rename library
authored
1 # Vacuum
c8c008f @hakanensari Converted README to markdown and updated copy.
authored
2
fbd20bd @hakanensari Use Jeff
authored
3 [![travis][1]][2]
a8573d4 @hakanensari Rearrange images in README.
authored
4
fbd20bd @hakanensari Use Jeff
authored
5 ![vacuum][4]
892e041 @hakanensari update README
authored
6
8e357dc Update README
Gilles Deleuze authored
7 Vacuum is a Ruby wrapper to the [Amazon Product Advertising API][3].
8
9 The API gives you access to the product catalogues of various Amazon websites.
10
11 ## Usage
e6f8cf0 @hakanensari Update README
authored
12
fa1b51b @hakanensari Edit README
authored
13 ```ruby
fbd20bd @hakanensari Use Jeff
authored
14 request = Vacuum.new
1cdc236 @hakanensari Fix README
authored
15
fbd20bd @hakanensari Use Jeff
authored
16 request.configure key: 'foo',
17 secret: 'secret',
18 tag: 'foo-bar'
fa1b51b @hakanensari Edit README
authored
19
8e357dc Update README
Gilles Deleuze authored
20 response = request.get query: { 'Operation' => 'ItemSearch',
21 'SearchIndex' => 'Books',
22 'Keywords' => 'Architecture' }
23
24 # Parse the response.body
1cdc236 @hakanensari Fix README
authored
25 ```
8e357dc Update README
Gilles Deleuze authored
26 Read [further][5].
b61634b @hakanensari Morph Vacuum into a general-purpose AWS wrapper
authored
27
e1c3ad5 @hakanensari Edit README
authored
28 [1]: https://secure.travis-ci.org/hakanensari/vacuum.png
29 [2]: http://travis-ci.org/hakanensari/vacuum
fbd20bd @hakanensari Use Jeff
authored
30 [3]: https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html
0337d7c @hakanensari Bring back syntactic sugar
authored
31 [4]: http://f.cl.ly/items/2k2X0e2u0G3k1c260D2u/vacuum.png
8e357dc Update README
Gilles Deleuze authored
32 [5]: http://aws.amazon.com/archives/Product%20Advertising%20API
Something went wrong with that request. Please try again.