Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amazon-awis

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-awis

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

== amazon-awis

Ruby Amazon Alexa web service REST API using Hpricot with configurable default options and method call options. Uses Response and Element wrapper classes for easy access to REST XML output.

Version: 0.1.0

== INSTALLATION

$ gem install amazon-awis

== EXAMPLE

require 'amazon/awis'

# set the default options; options will be camelized and converted to REST request parameters.
Amazon::Awis.options = {:aws_access_key_id => [your access key]}

# to generate signed requests include your secret key:
Amazon::Awis.options = {:aws_access_key_id => [your developer token], :aws_secret_key => [your secret access key]}

# alternatively,
Amazon::Awis.configure do |options|
    options[:aws_access_key_id] = [your access key]
    options[:aws_secret_key] = [you secret key]
    options[:responsegroup] = 'Rank'
end

# options provided on method call will merge with the default options
res = Amazon::Awis.get_info('yahoo.com')

# some common response object methods        
res.is_success?   # return true if request was successful

#dynamic methods
res.rank          # return the rank of domain name that was passed
res.dataurl	      # returns the url which was queried 

Refer to Amazon ECS documentation for more information on Amazon REST request parameters and XML output: http://docs.amazonwebservices.com/AlexaWebInfoService/2005-07-11/

== SOURCE CODES

== LINKS

== LICENSE

(The MIT License)

Copyright (c) 2009 Hasham Malik

FAQs

Package last updated on 19 Oct 2009

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc