Python google lịch api tạo sự kiện
Ngày đăng:
10/01/2023
Trả lời:
0
Lượt xem:
130
pizza Làm theo 28 Tháng ba, 2020 · 3 phút đọc Tích hợp API Lịch Google trong Dự án Python
pip install google-api-python-client OAuth 2. 0 Thiết lậpfrom apiclient.discovery import buildNhận lịch của tôi result = service.calendarList().list().execute()result['items'][0]{'kind': 'calendar#calendarListEntry',Nhận sự kiện trên lịch của tôi _______3 Tạo sự kiện lịch mới from datetime import datetime, timedeltastart_time = datetime(2020, 3, 15, 19, 30, 0)Chức năng tiện ích pip install datefinder! pip install datefinderCollecting datefinder |