Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Youtube API v3 search for videos, retrieve title and url

How can you search for youtube-movies and get the id/url and the title from it? It's to add them to a BaseAdapter-class in an Android Application.

In the second version of the API, it was possible: https://developers.google.com/youtube/2.0/developers_guide_java#Retrieving_and_searching_for_videos

like image 812
Matt Theodor Avatar asked Dec 08 '22 14:12

Matt Theodor


1 Answers

You need to do search->list and get ids, then plug in those ids into videos->list to retrieve details.

I suggest you to try API explorer to understand those functionalities. They are inline with documents too.

YouTube Direct Lite project is a good one to get you started. Definitely read README before starting.

like image 81
Ibrahim Ulukaya Avatar answered Dec 11 '22 04:12

Ibrahim Ulukaya