NAME

Net::Amazon::ATS - Use the Amazon Alexa Top Sites Service

SYNOPSIS

  use Net::Amazon::ATS;
  my $ats = new Net::Amazon::ATS($subscription_id, $secret);
  my $data = $ats->topsites();
  my $data = $ats->topsites(
  	Start		=> 100,
	Count		=> 10,
	CountryCode	=> 'US',
  );

DESCRIPTION

The Net::Amazon::ATS module allows you to use the Amazon Alexa Top Sites Service.

The Alexa Top Sites Service (ATS) provides developers with programmatic access to the information Alexa Internet (www.alexa.com) collects from its Web Crawl, which currently encompasses more than 100 terabytes of data from over 4 billion Web pages. Developers and Web site owners can use AWIS as a platform for finding answers to difficult and interesting problems on the Web, and incorporating them into their Web applications.

In order to access the Alexa Web Information Service, you will need an Amazon Web Services Subscription ID. See http://www.amazon.com/gp/aws/landing.html

Registered developers have free access to the Alexa Web Information Service during its beta period, but it is limited to 10,000 requests per subscription ID per day.

There are some limitations, so be sure to read the The Amazon Alexa Top Sites Service FAQ.

INTERFACE

The interface follows. Most of this documentation was copied from the API reference. Upon errors, an exception is thrown.

new

The constructor method creates a new Net::Amazon::ATS object. You must pass in an Amazon Web Services Access Key ID and a Secret Access Key. See http://www.amazon.com/gp/aws/landing.html:

my $ats = Net::Amazon::ATS->new($aws_access_key_id, $secret_access_key);
=head1 BUGS

Please report any bugs or feature requests to bug-<Net-Amazon-ATS@rt.cpan.org>, or through the web interface at http://rt.cpan.org.

AUTHOR

Shevek shevek@cpan.org

Borrowed somewhat heavily from Net::Amazon::AWIS by Leon Brocard acme@astray.com

LICENCE AND COPYRIGHT

Copyright (c) 2008, Shevek shevek@cpan.org. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.