Programmatically entry working places with the Calendar API — Google for Builders Weblog



Posted by Chanel Greco, Developer Advocate

Giving Google Workspace customers the power to set their working location and dealing hours in Google Calendar was an vital step in serving to our clients’ workers adapt to a hybrid world. Sending a Chat message asking “Will you be within the workplace tomorrow?” quickly grew to become out of date as anybody might share the place and once they can be working inside Calendar.

To enhance the hybrid working expertise, many organizations depend on third-party or company-internal instruments to allow duties like sizzling desk reserving or scheduling days within the workplace. Till not too long ago, there was no method to programmatically synchronize the working location set in Calendar with such instruments.

Image showing working locations visible via Google Calendar in the Robin app
Robin shows the working location from Google Calendar of their software and updates the person’s Google Calendar once they e-book a desk in Robin

Programmatically learn and write working places

We’re happy to announce that the Calendar API has been up to date to make working places accessible and this added performance is usually accessible (characteristic is barely accessible for eligible Workspace editions). This allows builders to programmatically learn and write the working location of Google Workspace customers. This may be particularly helpful in three use circumstances which have surfaced in discussions with clients which we’re going to discover collectively.

1.     Synchronize with third-party instruments

Enhancing the Calendar API permits builders to synchronize person’s working location with third-party instruments like Robin and Comeen. For instance, some firms present their workers with desk reserving instruments to allow them to e-book their office upfront for the times they are going to be on-site. HR administration instruments are additionally widespread for workers to request and set “Make money working from home” days. In each conditions the person needed to set their working location in two separate instruments: their desk reserving software and/or HR administration system and Google Calendar.

Due to the working location being accessible by the Calendar API this duplicate work is now not needed since a person’s working location might be programmatically set. And if a person’s calendar is the only supply of reality? In that case, the API can be utilized to learn the working location from the person’s calendar and write it to any permissioned third-party software.

Image showing Google Workspace Add-on synchronizing users' working locations in the Comeen app.
Comeen’s Google Workspace Add-on synchronizes the person’s’ working places each time the person updates their working location, both in Google Calendar or in Comeen’s add-on

2.     Show working location on different surfaces

The API permits the surfacing of the person’s working location in different instruments, creating attention-grabbing alternatives. For example, a few of our clients have requested for methods to higher coordinate in-office days. Think about you might be planning to be on the workplace tomorrow. Who else out of your crew will likely be there? Who from a neighboring crew may be on-site for a espresso chat?

With the Calendar API, a person’s working location might be displayed in instruments like directories, or a hybrid-work scheduling software. The objective is to make a person’s working location accessible within the programs which are related to our clients.

3.     Analyze patterns

The third use case that surfaced from discussions with our clients is analyzing working location patterns. With a lot of our clients having a hybrid work strategy it’s important to have an excellent understanding of the working patterns. For instance, which days do places attain maximal authorized capability? Or, when does the on-campus restaurant have to arrange extra meals for workers working on-site?

The API solutions these and different questions in order that facility administration can adapt their sources to the wants of their workers.

Easy methods to get began

Now that you’ve got an concept of the chances the up to date Calendar API creates, we wish to information you on how one can get began utilizing it.

  • Try the developer documentation for studying and writing a person’s working places.
  • Watch the announcement video on the Google Workspace Builders YouTube channel.
  • Examine the authentic publish in regards to the launch of the working location characteristic for a listing of all Google Workspace plans which have entry to the characteristic.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles