🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

amazonian

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazonian

bundlerRubygems
Version
0.2.0
Version published
Maintainers
1
Created
Source

== Status This project is in active development as of 2010-12.

== Installation Copy or symlink into your application's /lib folder.

In your ApplicationController:

class ApplicationController < ActionController::Base include Amazonian end

Then create an initializer in config/initializers: require 'amazonian' Amazonian.setup do |config| #Put your Amazon Web Services Key and Secret Key in here config.secret = '<>' config.key = '<>'

# prints more debug info to the console. Default: false
# config.debug  = true

# the default default_search is :All, other tempting options: :Music, :GourmetFood, etc
config.default_search = :Music

# the gem will attempt to filter out duplicate requests.  Default: true
config.cache_last = true

end

== Usage Amazonian.asin "1430218150" #=> #Amazonian::Item

Amazonian.search "The art of Computer Programming" #Title Amazonian.search "978-0201853926" #ISBN-13 Amazonian.search "0201853922" #ISBN-10 Amazonian.search "" #Anything you might put in the search box on Amazon.com. #=> #Amazonian::Search

== Info

For more information on the REST calls, have a look at the whole Amazon E-Commerce-API[http://docs.amazonwebservices.com/AWSEcommerceService/4-0/].

FAQs

Package last updated on 06 Dec 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts