Retrieve Youtube most viewed, most rated video details using - Google API Client Library for Java
I have been searching for ge开发者_开发知识库tting some solution using which I can easily get precise information regarding -
1) Youtube Most Viewed Videos 2) Youtube Most Rated Videos 3) Youtube Search
I know that this can be done with ease using gdata-java-client.
But, my requirement is that, I need to get the aforesaid three details using Google API Client Library for Java (http://code.google.com/p/google-api-java-client/)
Any help which can provide valuable information/ code which will help me get the youtube data precisely, will be well appreciated.
Looking forward for your valuable help, comments, suggestions,
Regards, Rony
Rony,
Please take a look at the youtube-jsonc-sample that uses the YouTube JSON-C feed for searching for videos.
Although it is not an Android sample, the same code should work on Android, except of course for the user interface.
精彩评论