Is there a url I can use the search for 'foo' on YouTube, and return JSON with a list of videos?
3 Answers
As their API docs clearly state, just add ?alt=json
:
The YouTube JSON API Page can help you out.
Some research on the API Page points out that http://gdata.youtube.com/feeds/api/videos?q=foo&alt=json is all you need...
On latest update:
https://www.googleapis.com/youtube/v3/search?part=snippet&q=SEARCHPARAMATER&maxResults=25&key=key
By using this URL you will be able to give the search parameter and get the desired JSON.