Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julien-c/topsites
Alexa Top Sites API
https://github.com/julien-c/topsites
Last synced: about 1 month ago
JSON representation
Alexa Top Sites API
- Host: GitHub
- URL: https://github.com/julien-c/topsites
- Owner: julien-c
- Created: 2012-12-11T17:27:46.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-14T08:35:45.000Z (almost 12 years ago)
- Last Synced: 2024-10-03T23:41:30.213Z (about 2 months ago)
- Language: PHP
- Size: 18.8 MB
- Stars: 6
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
-------------------------------------------------------------------------
- PHP Sample for Alexa Top Sites -
-------------------------------------------------------------------------
This sample will make a request to the Alexa Top Sites web service
using your Access Key ID and Secret Access Key.Tested with PHP 5.3.2.
Steps:
1. Sign up for an Amazon Web Services account at http://aws.amazon.com
(Note that you must have a valid credit card)
2. Get your Access Key ID and Secret Access Key
3. Sign up for Alexa Top Sites at http://aws.amazon.com/alexatopsites
4. Uncompress the zip file into a working directory
5. Runphp topsites.php ACCESS_KEY_ID SECRET_ACCESS_KEY [COUNTRY_CODE]
Country code is optional.
If you are getting "Not Authorized" messages, you probably have one of the
following problems:1. Your access key or secret key were not entered properly. Please re-check
that they are correct.2. You did not sign up for Alexa Top Sites at
http://aws.amazon.com/alexatopsites (This step is separate from signing
up for Amazon Web Services.)3. Your credit card was not valid.
If you are getting "Request Expired" messages, please check that the date
and time are properly set on your computer.