I am trying to get all calendar events that are currently happenning right now. I have a script that gets an iCal from Google Calendar, and I want to eventually get the events and print some information about them. I tried using this code but it complained about deprecations and I couldn't get it to work. If possible, I'd like to be able to get all ongoing events and events happening within a certian future time, excluding events from the past.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I am trying to get all calendar events that are currently happenning right now. I have a script that gets an iCal from Google Calendar, and I want to eventually get the events and print some information about them. I tried using this code but it complained about deprecations and I couldn't get it to work. If possible, I'd like to be able to get all ongoing events and events happening within a certian future time, excluding events from the past.
Thanks!