使用Google Calendar API Python输入新事件时,如何自定义我的Google Calendar事件ID?

问题描述 投票:0回答:1

我想使用Python将所需的事件ID插入Google Calendar API,但我不知道该怎么做,

 event = {
      'summary': acara,
      'location': lokasi,
      'description': deskripsi,
      'start': {
        'dateTime': start_time.strftime("%Y-%m-%dT%H:%M:%S"),
        'timeZone': timezone,
      },
      'end': {
        'dateTime': end_time.strftime("%Y-%m-%dT%H:%M:%S"),
        'timeZone': timezone,
      },


      'attendees': attendees,

      'reminders': {
        'useDefault': False,
        'overrides': [
          {'method': 'email', 'minutes': 24 * 60},
          {'method': 'popup', 'minutes': 10},
        ],
      },
    }

希望你能帮助我,非常感谢

python api insert google-calendar-api event-id
1个回答
0
投票

@@Jean-FrançoisFabre♦您现在可以删除我的帖子,它已被编辑。

© www.soinside.com 2019 - 2024. All rights reserved.