API access?

Post here you suggestions and wished features for hoteldruid development.

Moderator: marco

Post Reply
Kris
Posts: 3
Joined: Wed Jan 29, 2020 12:11 am

API access?

Post by Kris »

Hello,

I noticed that in the 3.0 release there is a file called API.

Is that some way of accessing HotelDruid from an external service? Ideally a JSON or XML based REST api would be awesome.

That way for example a much nicer booking plugin for WordPress could be written, instead of relying on iframes.

So if this is already possible, is this API documented somewhere?

Thanks!
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: API access?

Post by marco »

Hello Kris,
each hoteldruid document in txt or html format can be considered as an API. You can enable this option in the page where you modify the document text (clicking on document number in documents section of "configure and customize") and an example for each available call will be shown. So yes, you can access hoteldruid reservations and customers data in any format (you make it in the document).

Regards,
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Post Reply