google-apigoogle-calendar-apigoogle-api-ruby-clientwebcalgoogle-apis-explorer

Is it possible to add "Other calendar by URL" in google calendar API?


I have been unable to find help on Google Calendar APIreference. I am looking for a resource which makes the same things like option in user interface "Add by URL"( see below).

enter image description here

Is it possible to add other calendars by URL through Google Calendar API?


Solution

  • I dont think this is supported yet. You can read below the "Add by URL" that this is for iCals.

    With respect to DalmTo's suggestion, I tried placing an iCal URL as "id" in the POST request in CalendarList.insert. It didn't work.

    I got an error saying:

    "code": 404,
      "message": "Not Found"
    

    But, when I added it manually using the Add by URL field, it was inserted. This only means that CalendarList.insert doesn't accept iCal URLs. I also checked the CalendarList resource and no mention of iCal URLs were present.