This package gets bookings from the AirBnB, HomeAway and other calendars.
npm install ical-booking
var model = new models.ICal({
name: 'AirBnB',
type: models.ICalTypes.AIRBNB,
url: "https://www.airbnb.nl/calendar/ical/xxxx",
});
ical.importICal(model).then(function () {
ical.getICalToJSON(model).then(function (data) {
console.log(data);
});
});This package was build to integrate the NUKI Smartlock with AirBnB, Booking.com, HomeAway and other internet calendars.
Export your iCal from AirBnB or HomeAway and call the importICal to add the calendar.
| Request | Parameters |
|---|---|
| getICal | (string) name |
| getICals | |
| importICal | (models.ICal) ical |
| removeICal | (string) name |
| getICalToJSON | (models.ICal) ical |
If you want to contribute or donate to the project, please contact me on gijs@intelligencecompany.net.
MIT