Ruby wrapper for the Shopping.com API
Ruby
Latest commit 24a7684 Jun 24, 2011 @pengwynn pengwynn Merge pull request #2 from ryanmarshall/master
non-sandbox exception handling
Permalink
Failed to load latest commit information.
lib
test
.autotest
.gitignore
History
License
README.markdown
Rakefile
VERSION.yml
shoppr-0.2.1.gem
shoppr.gemspec

README.markdown

shoppr

The Ruby Shopping.com API gem.

Installation

sudo gem install shoppr

Usage

To use the Shopping.com API, you'll need an API key

# Set up your API key
Shoppr.api_key = 'OU812'

then just create a client

client = Shoppr::Client.new

or if you want to use the sandbox test environment you can do so without an API key:

client = Shoppr::Client.new(true)

Searching for products by keyword

client.search(:keyword => 'nikon')

Searching for products by keyword showing product reviews

client.search(:keyword => 'nikon', :show_product_reviews => true)

More scenario examples can be found on the shopping.com API site

docs

http://rdoc.info/projects/squeejee/shoppr

Copyright

Copyright (c) 2009 Squeejee. See LICENSE for details.