James, CalendarSet can read or write .ics (iCal calendar) files.
To parse .ics (containing one or more events): CS_ParseEvent (iCal:L; event:T) -> result:L the event can be a full path to .ics file or directly the event text (starting with "BEGIN:VCALENDAR") To generate .ics from event(s): all events in iCal: CS_GetCalendarTextProperty (iCal:L; CS_iCal_VCAL) -> result:T one event: CS_GetEventTextProperty (iCalOrArea:L; UidOrEventID:T; CS_Event_VCAL) -> result:T www.e-node.net/cs http://cs.docs.e-node.net https://forums.e-node.net/viewforum.php?f=12 Regards, -- Philippe Ganter www.e-node.net > On 11 Jun 2019, at 16:13, James Knight via 4D_Tech <[email protected]> > wrote: > > Hi > > We run a reservation system for our small holiday park and I’d like to > integrate with Airbnb. Our system already talks to a channel manager which > will push our availability up to Airbnb, but incoming bookings simply appear > in iCal calendars instead of getting fed back to us. > > I have URLs for each calendar, I just need to find a way of grabbing them > using 4D and extracting the contents. > > Does anyone know how to do this, please? > > I’m on 4D v15, soon upgrading to v17, on Mac. > > Thank you. > > James ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

