更新Google日历事件更新/删除/插入在具有服务帐户的Node Js中不起作用。 我们收到的消息是“禁止的”。
http://isd-soft.com/tech_blog/accessing-google-apis-using-service-account-node-js/
这是我们正在使用的。日历事件列表按预期工作。
示例代码:
calendar.events.update({ 身份验证:jwtClient, calendarId:calendar_Id, eventId:calendar_event_id, 资源:response.data },功能(错误,响应){
console.log(response);
});