如何使用 google 日历 API 在 ruby 中获取工作时间?

How to fetch Working hours using google calendar API in ruby?

无法在 https://developers.google.com/calendar/v3/reference

找到信息

解决方案

Unfortunaltely, at the moment of this answer there is no available feature for retrieving the working hours throughout the API.

但是,您可以使用 Freebusy query 来检索您将忙碌的日历时间,作为获取工作时间的解决方法(您当然可以过滤响应数据以仅获取工作时间和没有任何其他你不感兴趣的忙碌时刻。

此外,如果您想为 Google 日历 API 请求此功能,您可以在 Public Issue Tracker 中提交功能请求。

希望对您有所帮助。让我知道您是否需要其他任何东西或者您不明白什么。 :)