Alexa Top Sites - Making Requests
This chapter describes how to authenticate and send requests to Alexa Top Sites.
How to Make Requests to Alexa Top Sites
-
Sign up for an Amazon AWS account at https://aws.amazon.com/.
-
Create a Customer Managed Policy
-
Select the JSON tab in the Policy Editor
-
If the following message box appears, you may safely close it. We are working to remove this false warning message.
-
Paste the following in the editor window.
-
Click Review Policy. In the Review Policy window, assign a Name to the policy and Click Create Policy.
The following warning message can be safely ignored.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "AlexaTopSites:GET" ], "Resource": [ "*" ] } ] }
-
-
Assign the previous execution policy for the service to the user created above.
-
Get the IAM access keys from the IAM user management console page of the Amazon AWS portal.
-
Download one of the code samples from the Resource Center.
-
Follow the instructions in the README file to:
-
Paste your access keys into the code.
-
Execute the code sample.
-