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 Metadata

This request pulls all metadata for a specific video in Katapy by ID.

Result:

JSON object Content

Parameters:
Library Code:
ny2c
Video ID:
1270
API Key:
123434234325565465456
Example:
URL:
http://extapi.katapy.com/extapi/content/1270/ny2c?apikey=123434234325565465456
PHP:
<?php KatapyVod::getContent(1270, $library); ?>