使用API​​将ics文件导入Google日历 [英] import ics file to google calendar using API

查看:125
本文介绍了使用API​​将ics文件导入Google日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否存在使用其API将ics文件导入到Google日历的任何可能的解决方案.我已经引用了太多博客,却找不到适合我需要的确切解决方案.我在节点应用程序中工作,并使用节点模块创建ics文件.请帮助我找到解决方案.预先感谢

Is there any possible solution for importing an ics file to google calendar using their API. I have refered so many blogs and couldn't find any exact solution for my need. I am working in a node application and creating the ics file using a node module. Please help me to find a solution. Thanks in advance

推荐答案

日历API v3不支持ICS文件.您可以解析ICS文件并使用数据填写API v3请求,也可以使用CalDAV API(其本身支持ICS文件),但是您需要确保每个ICS文件中最多只有一个事件. CalDAV的文档在这里: https://developers.google.com/google-apps/calendar/caldav /v2/guide

Calendar API v3 does not support ICS files. You can either parse the ICS file and fill in the API v3 request with the data or you can use CalDAV API which natively supports ICS files but you will need to make sure there is only at maximum one event in each ICS file. The documentation for CalDAV is here: https://developers.google.com/google-apps/calendar/caldav/v2/guide

这篇关于使用API​​将ics文件导入Google日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆