I need a script (ideally PHP) that would be able to get traffic information about specified websites from Alexa database via Amazon Web Service (AWS).
Sample code for making request to this service is here:
[url removed, login to view]
Needed information for each is: Country, Percent of Visitors and Rank in Country for all countries available for particular website (this information could be also seen in browser on Alexa website e.g. here (table next to the world map): [url removed, login to view] (also see the image attached)
The script should be able to do the following:
1) take the list of specified domains
2) via AWS request needed information for each domain
3) create .csv file with needed info in this style: