Is there a way to programmatically import ICS into

2019-03-08 19:10发布

I don't see any obvious way to import ICS files into Google Calendar from the API docs here:

http://code.google.com/apis/calendar/developers_guide_protocol.html

And I'd greatly prefer not to have to parse them myself just to send the appointments into GCal. I'm looking for a programmatic solution, not something like import plugins for Thunderbird, Outlook, etc. Third party APIs to do the ICS parsing are acceptable, in any language. Any ideas?

3条回答
相关推荐>>
2楼-- · 2019-03-08 19:37

I have created a simple open source .net utility to do just that, available at http://gcalicsimporter.codeplex.com/.

查看更多
3楼-- · 2019-03-08 19:47

You shouldn't have to parse an ICS just to import it into Google Calendar, it is capable of importing them directly... From the end-user's web view, it's as easy as clicking Import Calendar. From the API, I would look at the Adding New Subscriptions section.

查看更多
叛逆
4楼-- · 2019-03-08 19:48

For my iCal2GCal app I'm using the Googlecalendar Ruby Gem to both parse .ics files and then add the events inside to a Googlecalendar. It might give you some ideas on how to go about it. You can check out the full source code.

查看更多
登录 后发表回答