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 Image Thumbnail

This request pulls an image thumbnail from your Katapy library. This request in recommended for galleries, libraries and channels, not for content. Katapy content includes a thumbnail URL in its metadata.

Result:

Binary Image Data

Parameters:
Image Thumbnail ID:
28696
API Key:
123434234325565465456
Example:
URL:
http://extapi.katapy.com/extapi/imgthumblarge/28696?apikey=123434234325565465456
PHP:
<?php KatapyVod::getLargeImgthumbUrlById(28696); ?>