You are hereUsing Youtube API to search for videos

Using Youtube API to search for videos

By mehow - Posted on 12 December 2009

PHP code which perfoms this search comes from Vikram's Vaswani article : Use the YouTube API with PHP.

Feed comes from '', method called is 'q', number of returned results is set to 10. The parsing of the XML data is done by simplexml_load_file() function.

Code from here was used by me to develop PHP Simple YouTube API video Search project.

Select fields you want to get in results: Thumbnail Title Duration View count Rating Author's name Description
No fields to show selected.