Project

serpentor

0.0
No commit activity in last 3 years
No release in over 3 years
Automates checking of Search Engine Results for a given set of keywords.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
~> 10.0
~> 3.3
~> 2.9
~> 1.22

Runtime

 Project Readme

Serpentor

Simple utility to check search engine result rankings for a given set of keywords. Right now only Google search is supported.

Installation

Add this line to your application's Gemfile:

gem 'serpentor'

And then execute:

$ bundle

Or install it yourself as:

$ gem install serpentor

Usage

Run an individual keyword test:

rank = Serpentor::Rank.check('SOSV', 'sosv.com')
puts "Rank is #{rank.value} (#{rank.url})"

Or configure a bulk keyword test:

config = Serpentor.configure do |config|
  config.keywords = ["keyword1", "keyword2"]
  config.host = "my-site.com"
  config.limit = 10 # only care if result is on first page
end

results = Serpentor.rank
results.each do |res|
  puts "Rank for '#{res.keyword}' is #{res.rank || 'N/A'} (#{res.url})"
end

The first 5 pages (50 results) are checked by default. You can further limit that number, for example, if you only care about first page results.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/serpentor/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request