Is there a way to programmatically import ICS into Google Calendar?

37,832

Solution 1

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

Solution 2

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.

Solution 3

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.

Share:
37,832
Joe Shaw
Author by

Joe Shaw

I am a distributed systems engineer at Fastly, a real-time, global content delivery network. Over the years I've worked on many different things, including Linux software management, hardware integration in the Linux desktop, desktop search, cluster and service management, a largely JavaScript operating system, embedded firmware, web services, and CDN infrastructure. I've contributed a lot to open source over the years, especially the GNOME project. These days I mostly program in Go, with some Python and C and JavaScript sprinkled in. In the past I've done C# as well.

Updated on October 11, 2020

Comments

  • Joe Shaw
    Joe Shaw over 3 years

    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?