alexalister
v1.0.0
Published
Lists the top sites of alexa group by country
Downloads
1
Readme
#Alexa Lister | Get alexa ranking by country This script helps to fetch 20 pages of alexa ranking from it official website. Commercial use of this script is not allowed and might be illigal
Install script
Install script via npm:
npm install
or git:
npm install https://github.com/torabian/alexalister
Include and fetch data
There is a example test.js
in root of module, but simply for getting information:
var alexalister = require("./alexalister");
alexalister.getRanks('IR').then(function (list) {
console.log("This is the list: " , list)
});
It will return an object like:
{
"1": "google.com",
"2": "varzesh3.com",
"3": "yahoo.com",
"4": "digikala.com",
"5": "blogfa.com",
"6": "aparat.com",
"7": "wikipedia.org",
"8": "shaparak.ir",
"9": "instagram.com",
"10": "bankmellat.ir",
...
Also there will be the latest result in caches.json in root of module. (Ignored)