Returns a list of videos from your account filtered and sorted on the parameters your specify.
https://streamio.com/api/v1/videos.format
GET
200
Find videos tagged with "sports" or "nature" with the tags parameter.
curl -u username:password https://streamio.com/api/v1/videos.json?tags=sports%2Cnature
Find videos tagged with both "sports" and "england" with the tags.all parameter.
curl -u username:password https://streamio.com/api/v1/videos.json?tags.all=sports%2Cengland
You can achieve pagination (split results into multiple pages) by using the skip and limit parameters.
Set the limit to 10 to receive only 10 results per request. Set skip to 0 for the first page as we want to start from the top of the result list.
curl -u username:password https://streamio.com/api/v1/videos.json?limit=10&skip=0
Now for the second page we keep the limit at 10 and set skip to 10 to get results 11-20.
curl -u username:password https://streamio.com/api/v1/videos.json?limit=10&skip=10
To get the total count for calculating the total number of pages you may use the count method.
Say we want to display a list of the 5 most popular videos. We set the order parameter to plays descending (plays.desc) and limit to 5.
curl -u username:password https://streamio.com/api/v1/videos.json?limit=5&order=plays.desc