Access data from Katapy via HTTP GET.

HTTP GET / PHP API

The documentation below shows how to retrieve data from Katapy in the JSON format with our API via simple HTTP GET or our PHP SDK. The functions below represent our most popular API calls and not the full extend of the API. If you are looking for more functions, please feel free to explore the PHP-SDK or contact support@katapy.com.

Javascript API

If you use JavaScript, you might want to use JSONP with XMLHttpRequest to overcome the cross-domain restrictions imposed by browsers' same-origin policy. Katapy supports JSONP with all JSON delivering requests. To request JSONP data, simply add the "callback" parameter to the URL request, such as "&callback=[YOUR_JSONP_CALLBACK]".

Get Gallery Details

This request pulls the long details text from the WYSIWYG editor.

Result:

HTML Text

Parameters:
Library Code:
ny2c
Gallery Code:
visitorsites
API Key:
123434234325565465456
Example:
URL:
http://extapi.katapy.com/extapi/gallerytext/visitorsites/ny2c?apikey=123434234325565465456
PHP:
<?php KatapyVod::getGalleryText("visitorsites", $library); ?>