views:

2149

answers:

2
+7  Q: 

Google Alerts API?

It seems that there is no Google Alerts API.

Firstly, How would you get Google Alerts information into a database other than to parse the text of the email message that Google sends you?

If you must parse text, how would you go about parsing out the relevant pieces of the email message?

+9  A: 

When you create the alert, set the "Deliver To" to "Feed" and then you can consume the feed XML as you would any other feed. This is much easier to parse and digest into a database.

Bill Karwin
+1  A: 

You can find a PHP class to add/remove/list google alerts here: http://oktaykilic.com/programming/google-alerts-api-class/

Glen Matthews