会议地点中的Google日历Python API

2024-09-25 00:23:16 发布

您现在位置:Python中文网/ 问答频道 /正文

PI新手在https://developers.google.com/calendar/quickstart/python?refresh=1&pli=1#troubleshooting上设置并安装了Python快速启动

这很管用,但我也需要知道会议的地点

试图改变密码

   for event in events:
    start = event['start'].get('dateTime', event['start'].get('date'))
    locations = event['location'].get('string')
    print(locations, start, event['summary'])

Get error keyerror“位置”

我做错什么了


Tags: httpscomeventgetgooglepistartquickstart