Project

shoppr

0.01
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for the Shopping.com API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

= 0.2.0
>= 0.5.0
 Project Readme

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.