开发者

Youtube json feed returning all results

开发者 https://www.devze.com 2023-02-10 03:53 出处:网络
I am currently calling a youtube playlist using: http://gdata.youtube.com/feeds/api/videos?q=USERNAME&v=2&alt=jsonc&callback=function

I am currently calling a youtube playlist using:

http://gdata.youtube.com/feeds/api/videos?q=USERNAME&v=2&alt=jsonc&callback=function

I was just wondering if there was a way to pull through all of the videos on my feed, I hav开发者_StackOverflow社区e around 250 videos and its only returning 25... :-/

Any help would be much appreciated...thanks!


http://code.google.com/apis/youtube/2.0/developers_guide_protocol_api_query_parameters.html#max-resultssp

25 is the default number of items that are returned. Use max-results=nn to request up to 50 items.

http://gdata.youtube.com/feeds/api/videos?q=USERNAME&v=2&max-results=50&alt=jsonc&callback=function

0

精彩评论

暂无评论...
验证码 换一张
取 消