lita handler for scraping rank of google search results by domain
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
lita-google-ranking.gemspec

README.md

lita-google-ranking

Build Status

Lita (robot) handler for getting rank of DOMAIN on google web search with a KEYWORD.

Installation

Add lita-google-ranking to your Lita instance's Gemfile:

gem "lita-google-ranking"

Configuration

in lita_config.rb

config.handlers.google_ranking.gl = "tw"
config.handlers.google_ranking.lr = "lang_zh"
config.handlers.google_ranking.cr = "countryTW"

domain alias

config.handlers.google_ranking.domain_alias = { alias: "domain" , domain: "www.my.long.domain.name.com" }

Usage

lita gr DOMAIN KEYWORD : send KEYWORD to google web search, and return rank of DOMAIN from search results

"KEYWORD" ranking of DOMAIN is 3

License

MIT