Streamio API Documentation

Playlists - Video Count

A public API method for retrieving the total number of videos for a playlist. Returns a count of playlists from your account filtered on the parameters your specify. Necessary for pagination. If you want to call this method from client side javascript it also has support for JSONP through the 'callback' parameter.

No authentication required!

Request

Url

https://streamio.com/api/v1/playlists/playlist_id/video_count.format

Request Method

GET

Parameters

  • callback The name of a javascript function to be used as a JSONP callback.

Response

Code

200

Body

Examples

It's simple

Just GET it.

curl https://streamio.com/api/v1/playlists/4e9ec30d11581e188b000007/video_count.json

With a JSONP callback

Prepare a javascript function to be used as a JSONP callback and provide the function name as a parameter.

curl https://streamio.com/api/v1/playlists/4e9ec30d11581e188b000007/video_count.json?callback=myAwesomeCallback