Google Alerts API Interface

Google Alerts is an incredibly powerful tool, but an official programming API has never been made available.

Google Alerts API will allow easy intergration of Google Alerts into your C# project.


Usage:

GoogleAlert googleAlert = new GoogleAlert("user@gmail.com", "youpassword");

// create an alert
string alertid = googleAlert.CreateAlert("Android", GoogleAlert.ResultType.News, GoogleAlert.Frequency.AsItHappens, GoogleAlert.Volume.BestResults);

// read current alerts
List alerts = googleAlert.GetAlerts();

foreach (GoogleAlert.Alert thisAlert in alerts)
{
Console.Write("id: " + thisAlert.alertid);
Console.Write("phrase: " + thisAlert.phrase);
}

// delete alert
googleAlert.DeleteAlert(alertid);


If you are interested in using the Google Alerts API library in your project please send an email to porkchp@gmail.com

( categories: )