It's documented at
https://developers.google.com/youtube/2.0/reference#Spelling_Suggestions
I don't know whether or not the Zend client library exposes a helper
method to get that specific <link> element, so you might need to
iterate through all the <links> and check for the one that has
rel='http://schemas.google.com/g/2006#spellcorrection'
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Mar 2, 2:37 pm, Martti Laine <marttilain...@gmail.com> wrote:
> Hey,
>
> Is there any documentation available for this functionality? There doesn't
> seem to be a method that would return the suggested correction in
> Zend_Gdata_YouTube_VideoFeed, which is returned from search.
>
> Thanks,
> Martti Laine
>
>
>
>
>
>
>
> On Friday, 2 March 2012 20:20:31 UTC+2, Jeffrey Posnick wrote:
>
> > Hello Martti,
>
> > There's something that will return suggested spellings if we thinking
> > you misspelled a search term, but there's no service that will take in
> > a fragment of a search string and return what we think possible
> > autocompletes are for that string.
>
> > Cheers,
> > -Jeff Posnick, YouTube API Team
> > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > @YouTubeDev
>
> > On Mar 2, 10:01 am, Martti Laine <marttilain...@gmail.com> wrote:
> > > Hey guys,
>
> > > Is there a method in the API to receive search suggestions as in YouTube
> > > (autocomplete)? This would be great!
>
> > > The other option is to save the search queries myself and recreate this
> > > functionality, but I think YouTube could provide it better =)
>
> > > Thanks,
> > > Martti Laine
--
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