= Status
I don't have much time to update this gem. https://github.com/pivotus/galerts seems to be a newer gem that may work better with the new google alerts api params and is also the gem pushed to rubygems.
= Galerts
Simple Ruby library that uses Mechanize to scrape Google Alerts from the google alerts webpage. A lot of the functionality was ported from https://github.com/jab/galerts
== Features:
== Issues:
Must use
gem 'galerts', :git => 'git://github.com/amalhotra/galerts'
== Example Code:
require 'galerts'
g_manager = Galerts::AlertsManager.new(email,password)
my_alerts = g_manager.alerts sample_alert = my_alerts.first
sample_alert.domain = "co.uk" g_manager.update(sample_alert)
g_manager.create("ruby google alerts","es",Galerts::NEWS,Galerts::RT,Galerts::BEST_VOL,false)
g_manager.delete(sample_alert)
g_manager.find({:query => "ruby google alerts"}) g_manager.find({:query => "ruby google alerts",:domain => "com"}) g_manager.find({:query => "ruby google alerts",:domain => "com",:feed => true}) ..
== Limitations: Certain google domains have been known not to work. Here is a subset from http://en.wikipedia.org/wiki/List_of_Google_domains which are known not work:
.ga, .gd, .gf, .im, .io, .lc