I like how my flight information directly pops up in my Google calendar (even if it's a bit scary) and I would like the same thing to happen when, e.g., I book train tickets. My first though was to make a Chrome extension which would parse my Gmail inbox for specifik strings and then create a calendar event if it found the right info.
But, when reading about the calendar API I realized that it would be more logical to use the Gmail API and get the data from the mail directly then to parse a web page for the information. Right?
Do you see any problems with this approach? Authorization, for example. And could I use my ordinary web server to store the code? (I'm a newbie when it comes to these things). Even better, could I store it on a personal Google Site?
tl;dr
Can I use Google's API:s to check my mails and create events if the mail contain the right data? And would there be any problems like authorization etc?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…