recipe-find-free-time

작성자: Google

여러 사용자의 Google Calendar 가용/바쁨 상태를 조회하여 회의 시간을 찾습니다.

npx skills add https://github.com/googleworkspace/cli --skill recipe-find-free-time

Find Free Time Across Calendars

PREREQUISITE: Load the following skills to execute this recipe: gws-calendar

Query Google Calendar free/busy status for multiple users to find a meeting slot.

Steps

  1. Query free/busy: gws calendar freebusy query --json '{"timeMin": "2024-03-18T08:00:00Z", "timeMax": "2024-03-18T18:00:00Z", "items": [{"id": "[email protected]"}, {"id": "[email protected]"}]}'
  2. Review the output to find overlapping free slots
  3. Create event in the free slot: gws calendar +insert --summary 'Meeting' --attendee [email protected] --attendee [email protected] --start '2024-03-18T14:00:00' --end '2024-03-18T14:30:00'