0

I'm using the google calendar API (python) to do some calendar parsing, and I'm going to be running a script once an hour to download events for the next two weeks. I'm on a pretty old system which has a lot going on so I want to only pull when there has been data changed. Is there any flag within the api to check if there is a change since last read?

Thanks for your time!

Lizrdman
  • 1
  • 1
  • 2

1 Answers1

1

You may want to check the Events: watch method which watches for changes to Events resources. Also, from this post, the Google Calendar API provides push notifications that let you watch for changes to resources. You can use this feature to improve the performance of your application. It allows you to eliminate the extra network and compute costs involved with polling resources to determine if they have changed. Whenever a watched resource changes, the Google Calendar API notifies your application.

abielita
  • 13,147
  • 2
  • 17
  • 59