Search code examples
javascriptgoogle-calendar-apigoogle-api-client

How to get today's events from Google Calendar (API) using JavaScript?


I'm new to Google Calendar APIs and what I'm trying to do is to display today's events from a public Google Calendar using JavaScript.

I've found this resource(dead link), but I can't figure it out how to modify it so that it will output only today's events.

Any help will be appreciated.


Solution

  • Take a look at the API: https://developers.google.com/calendar/quickstart/apps-script

    You can set the start-min and start-max parameters.