はじめに Slackでまとめて当日の予定を送っていたのだが、使用していたGoogle Calendarアプリが2024/09/01で終了するらしいということを知った。 で、新しいGoogle Calendarでやり方を色々調べたがどうやら当日の予定を送る方法がみつからなかったので作った slack.com GASのコード ※わかる人向けにとりあえずコード /** * @param {string} calendarID * @param {Date} targetDate */ function getEvents_(calendarID, targetDate) { const events = CalendarApp.getCalendarById(calendarID).getEventsForDay(targetDate) return events } function crea
![Googleカレンダーの当日予定をGASでSlackに通知する - 山pの楽しいお勉強生活](https://cdn-ak-scissors.b.st-hatena.com/image/square/772a5198c80bb377303d957ca7d4dd6d3cf380ab/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fy%2Fyamap_55%2F20240609%2F20240609163900.png)