Save more now with Calendar API!

APR 24, 2014
By Lucia Fedorova, Google Calendar API Team

Today we are enabling several ways to save your Calendar API quota, network bandwidth, and, most importantly, batteries of your users' phones.

Previously, when you wanted to know whether a user changed the color of his calendar, you would need to poll the server frequently, downloading the entire calendar list each time. This is no longer necessary as we are announcing three major improvements to the Events, Calendar list, ACL and Settings collections:

Let's demonstrate what synchronization could look like:
“OK server, I would like all the settings of this user.”
“Here you go, dear client, all the entries and a small bonus called a sync token.”
“Thanks, server! Please let me know if something changes in the settings of this user.”

Later that day

“Hey client, the settings have changed. ”
“Cool, here is my sync token, what are the changes?”
“There have been many. I’m now sending you the first hundred of them and a page token.”
“Got it! Here is the sync token and the page token, what else has changed?”
“Here are the remaining twenty new settings. And of course, a new sync token.”
“You are the best, server! Thank you!”

Lucia Fedorova is a Tech Lead of the Google Calendar API team. The team focuses on providing a great experience to Google Calendar developers and enabling new and exciting integrations.


Posted by Louis Gray, Googler