Google calendar API : Selecting/Creating calendars?

前端 未结 2 533
忘了有多久
忘了有多久 2021-01-30 18:43

So I want our work calendar to automatically sync with each employee\'s Google Calendar when the scheduling manager posts/updates the schedules. Users would initially opt-in usi

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-30 19:36

    I believe Anthony is referring to either the v1 docs or the v2 docs on the Google Calendar APIs site. I managed this pretty easily in Perl, by following the v2 protocol guide.

    The key is to change the URL you are POSTing to. Instead of the default "/calendar/feeds/default/private/full", first fetch the list of available calendars, then get the content/@src value from the calendar you want, and post to that, e.g. /calendar/feeds/1234567890abcdefeg%40group.calendar.google.com/private/full

提交回复
热议问题