The jacAPI can be used to integrate availability information, property information, and availability searches into an existing website. There are some pre-built applications for Wordpress and Open-Realty as well as the group property sites. All of these can be downloaded and run from your server.
Most owners will have no need for the API because the basic links provided give everything they need. Use those links in your own HTML to show your calendar or embed it in an Iframe.
However, some may want to do more. The API is a way for you to access YOUR DATA in the jACServer database and do whatever you want with it. There are 2 basic access methods. One is through a simple javascript that will insert a javascript array of bookings into your page. The second way is to access the XML file link.
In both cases, jAC is just providing your booking data. It is up to your own page to do something with that data!
Simply insert that line in your HTML page and the script will insert your bookings in the page something like this:
Then use the javascript variable "myjacdates" in your javascript.
Here is a full script utilizing the Yahoo User Interface Calendar. Display the link and do a view source, then copy and paste the entire file to your own page to test it. Of course you should change "sourceid=demo100" to your property code! Yahoo Calendar Sample
The XML file jAC produces is simply a datafile. Programmers have many ways to work with XML. jAC provides a downloadable interface for you to work with the XML. The default minisites in the links above are basically independent applications written using the jacAPI and the XML datafiles.
Here is a full script utilizing the Yahoo User Interface Calendar and the XML interface. It is exactly the same as the above, but is server side using the jacAPI that accesses the XML file directly. Display the link and do a view source, then copy and paste the entire file to your own page to test it. Of course you should change "sourceid=demo100" to your property code! Yahoo Calendar Sample
You can download the jacAPI and the minisite code and run those applications from your own site. Learn more about using the API on a Wordpress Blog or other real estate application such as Open-Realty. Read more on the jacWiki
These are real sites, but they are for demonstration purposes. See the jacwiki for information on downloading these sites.