https://github.com/typpo/google-pagerank
npm module for getting pagerank
https://github.com/typpo/google-pagerank
Last synced: about 1 year ago
JSON representation
npm module for getting pagerank
- Host: GitHub
- URL: https://github.com/typpo/google-pagerank
- Owner: typpo
- License: mit
- Created: 2015-05-22T06:57:01.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-18T21:35:40.000Z (about 9 years ago)
- Last Synced: 2025-04-15T03:07:16.572Z (about 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# google-pagerank ** This project NO LONGER WORKS because Google removed the PageRank API.
This [npm module](https://www.npmjs.com/package/google-pagerank) fetches Google PageRank.
It accomplishes this by implementing the Jenkins hash in Javascript and using
the Google Toolbar endpoint to grab pagerank for any url.
`npm install google-pagerank`
## Node module
Install with `npm install google-pagerank` or include `google-pagerank` in your module's package.json.
var pagerank = require('google-pagerank');
pagerank('http://ianww.com', function(err, rank) {
console.log('Got pagerank', rank);
});
==> Got pagerank 3
## Command line
node index.js "http://ianww.com"
==> 3
## Demo
Example repo at
[typpo/pagerank-checker](http://github.com/typpo/pagerank-checker), or see it
live at [http://ianww.com/pagerank](http://ianww.com/pagerank)