ical-booking

1.0.5 • Public • Published

Synopsis

This package gets bookings from the AirBnB, HomeAway and other calendars.

npm install ical-booking

Code Example

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);
    });
});

Motivation

This package was build to integrate the NUKI Smartlock with AirBnB, Booking.com, HomeAway and other internet calendars.

API Reference

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

Contributors

If you want to contribute or donate to the project, please contact me on gijs@intelligencecompany.net.

License

MIT

Package Sidebar

Install

npm i ical-booking

Weekly Downloads

1

Version

1.0.5

License

MIT

Last publish

Collaborators

  • intelligencecompany.net