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 Video Galleries By Library

This request pulls all video galleries from your Katapy library.

Result:

JSON array [Gallery]

Parameters:
Library Code:
ny2c
API Key:
123434234325565465456
Example:
URL:
http://extapi.katapy.com/extapi/galleries/video/ny2c?apikey=123434234325565465456
PHP:
<?php KatapyCms::getVideoGalleries($library); ?>