Friday, January 13, 2012

[YouTube-API] Re: doubt regarding searching videos

Hello Bhaskar,

The search query parameter is documented at

http://code.google.com/apis/youtube/2.0/developers_guide_protocol_api_query_parameters.html#qsp

There's no way to search through the comments of a specific video
using the API.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Jan 12, 7:14 am, PNWS PNWS <pnws...@gmail.com> wrote:
> Hi,
>
>        In our application we are using Youtube data API to search videos.
>
>       I am using the following code.............
>
>       YouTubeQuery query =
>       new YouTubeQuery(new
> URL("http://gdata.youtube.com/feeds/api/videos"));
>       query.setFullTextQuery("vodafone");
>       query.setOrderBy(OrderBy.PUBLISHED);
>
>       query.setSafeSearch(YouTubeQuery.SafeSearch.NONE);
>       VideoFeed videoFeed = service.query(query, VideoFeed.class);
>
>      1)  Our requirement is getting results that keyword matches in any one
> of Title or description or tags of Video
>
>       I donot know how it is performing search. could you please give me
> the clear explanation where query searches?
>
>        please help me in this regard.
>
>        2) can i search on comments of individual video?
>
> Thanks,
> Bhaskar

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment