0

I am trying to automate google alerts.I am using c# to do this,I found out that there are certain parameters that need to be "Posted" in order to create an alert successfully.I am pasting those here:-

x:AMJHsmXPXoR-3tIdZfsQJXzLJEI55G189A:1337777808728

q:test

t:7

f:1

l:0

e:abc@gmail.com

q:is the name of the search string for which I want the alert.

e:is my email id

I can't figure out what others are for. Can you suggest something?especially x I have a suspicion that it is really important :)

Edit:-

I need to automate the creation of alerts so I will need to post the data every-time I create a new alert.

Akshat Jiwan Sharma
  • 15,430
  • 13
  • 50
  • 60

2 Answers2

1

What you are looking for is an API for google alerts.

This has already been asked on so: Google Alerts API?

The accepted answer is here.

It sounds like you can just consume an RSS feed, but it doesn't sound like you can post anything.

Community
  • 1
  • 1
Seth Flowers
  • 8,990
  • 2
  • 29
  • 42
  • Yeah I already saw that but the thing is I need to automate the creation of alerts.So I will need to post the data in the format I described above.Thanks anyway. – Akshat Jiwan Sharma May 23 '12 at 18:28
  • Ok so I think that I have got the answer.These parameters are hidden input types on the form element in the source of the page.I should have checked that earlier.They can easily be extracted from the source using a method that you are comfortable with, regex or html agility,and can be posted to obtain the result. I hope this helps someone who is looking to automate the creation of google alerts.I will post the full code once I test it completely. Thanks for taking time to read this post. :) – Akshat Jiwan Sharma May 23 '12 at 19:11
0

There is a c# lib api to read, create and delete google alerts.

The downside is that it recently became commercial.

MazarD
  • 2,759
  • 2
  • 22
  • 33