Akash Pius
Akash Pius

Reputation: 336

import ics file to google calendar using API

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

Upvotes: 8

Views: 7083

Answers (1)

luc
luc

Reputation: 3782

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

Upvotes: 9

Related Questions