Sha256: 3613cf82adc798f21d2ab045dda4721166ad4dd398d39febfd0733401e572683

Contents?: true

Size: 953 Bytes

Versions: 1

Compression:

Stored size: 953 Bytes

Contents

= Alexa Web Information Service

== Usage
  Alexa.url_info(:access_key_id => 'key', :secret_access_key => 'secret', :host => 'site.com')
  # also you can specify option :response_group => 'Rank,ContactInfo' or any other valid group,
  # see: http://docs.amazonwebservices.com/AlexaWebInfoService/2005-07-11/
  # default response group takes all the available options

  returns object with methods:
  :xml_response, :rank, :data_url, :site_title, :site_description, :language_locale, :language_encoding,
  :links_in_count, :keywords, :related_links, :speed_median_load_time, :speed_percentile,
  :rank_by_country, :rank_by_city, :usage_statistics

You can set configuration in block like this:
  Alexa.config do |c|
    c.access_key_id = "key"
    c.secret_access_key = "secret"
  end

== Installation
  gem install alexa

== Contributors
* rmoriz[http://github.com/rmoriz]

== Copyright

Copyright (c) 2011 Wojciech Wnętrzak. See LICENSE for details.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alexa-0.2.1 README.rdoc