Latest Release Notes: Playlist Search, Time, and More
April 7th, 2009 | Published in Youtube API
Enjoy a few new tidbits in the latest release.
Search for playlists
Yup, the same way you can search for videos and channels , you can now use the API to search for playlists:
Time filtering for video search
You can now restrict the video search result to a specific time interval (today, this_week, this_month, all_time):
http://gdata.youtube.com/feeds/api/videos?q=soccer&time=today&v=2
The default is 'all_time'.
As always, post in the forum if you have any feedback or questions!
Posted by Daniel Danciu, Software Engineer
Search for playlists
Yup, the same way you can search for videos and channels , you can now use the API to search for playlists:
http://gdata.youtube.com/feeds/api/playlists/snippets?q=soccer&v=2
The query above will return a list of playlist snippets that match the query 'soccer'. Searching in playlists is an excellent way to find YouTube videos about a specific point of interest (e.g. dancing, cooking, sports etc.).Time filtering for video search
You can now restrict the video search result to a specific time interval (today, this_week, this_month, all_time):http://gdata.youtube.com/feeds/api/videos?q=soccer&time=today&v=2
The default is 'all_time'.
More results
You can now request past the 100th video in a playlist and past the 200th video in a favorite list. Additionally, you can now get 1000 videos in a search feed instead of 999! Enjoy that last video, guys.As always, post in the forum if you have any feedback or questions!
Posted by Daniel Danciu, Software Engineer