What?
GooglePageRank is a simple gem to fetch the Google PageRank © for a domain.
GooglePageRank fetch the Google PageRank (a numbre between 0 and 10) for a domain. It provides a terminal command for usign from the console and a gem to use from your own ruby scripts.
Installing
$ sudo gem install googlepagerank
Simply and efective. GooglePageRank currently work perfectly, but we try to keep it up-to-date for changes in the Google Algorithm.
Usage
There are two basic methods of using this gem:
1. From the console
$ googlepagerank -u www.kernel.rog
This command will fetch the PageRank © from Google for the domain www.kernel.org
If you want to know all the options, simply execute:
$ googlepagerank -h Usage: googlepagerank [-h] [-s] -u http://... Options: -h help -s silent
2. Using the provided gem
require "rubygems"
require "googlepagerank"
puts GooglePageRank.get("www.mabishu.com")
=> 4
Get documented
If you want documentation and more info about this gem, see RDoc Documenation for GooglePageRank.
License
This code is free to use under the terms of the MIT license, feel free of use it.
Get involved
The current code is available via Subversion:
svn checkout svn://rubyforge.org/var/svn/googlepagerank
