A console golang program to retrieve upcoming events from google calendar, and sounds an alarm on event time.
Uses OAuth2, it will get authorization token from web, if none exists, and saves the refresh token on file to renew expiration.
The service will fetch at the start of each minute. It will sound an alarm 15 minutes before, and on the event time.
Screen Capture - Retrieves upcoming events up till tomorrow, on every minute.
How to get a Google access token with CURL - In order to tell the authorization server that we want the token returned in the web browser we just send it urn:ietf:wg:oauth:2.0:oob as our redirect uri.
Calendar API Samples for .NET - These samples show how to access the Calendar API with the Offical Google .Net client library by Linda Lawton.