Google Calendar API - 缺少结束时间

时间:2018-03-05 17:48:51

标签: google-calendar-api

尝试使用Google Calendar API获取活动列表,返回400错误:错过结束时间。详情如下。有什么建议吗?

车身

{ “calendarId”: “george.albrecht@xxx.com”, “时间min”: “2018-03-04T19:00:00 + 00:00”, “timeMax”:“2018-03-07T19:00 :00 + 00:00" , “的timeZone”: “美国/纽约”, “showDeleted”:真}

接头

'Content-Type','application / json' '授权','持票人'+ access_token

终点&方法

Endpoint = https://www.googleapis.com/calendar/v3/calendars/george.albrecht%40xxx.com/events,Method = GET

1 个答案:

答案 0 :(得分:0)

正文中的

put()startTime如下所示:

endTime

如果该解决方案仍不起作用,请尝试降级包:

  

googleapis@24.0.0有效 - >与@ 25.0.0我得到了错误...和   google-auth-library@0.12.0,如SO post中所述。

相关问题