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.
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]".
This request pulls all metadata for a specific video in Katapy by ID.
JSON object Content
ny2c
1270
123434234325565465456
http://extapi.katapy.com/extapi/content/1270/ny2c?apikey=123434234325565465456
<?php KatapyVod::getContent(1270, $library); ?>