开发者

YouTube Autosuggest API - where to find samples or documentation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered w开发者_运维百科ith facts and citations.

Closed 4 years ago.

Improve this question

I want to create a YouTube video search box with the same autocomplete feature. Any idea where can I find samples or and documentation?

Thanks


You can get the JSON of the autocomplete searching for the word "obama" using the following HTTP GET query:

http://suggestqueries.google.com/complete/search?hl=en&client=youtube&hjson=t&ds=yt&jsonp=window.yt.www.suggest.handleResponse&q=obama&cp=3

I've seen this call using the youtube and watching the generated HTTP queries with Firefox Live HTTP Headers extension.

I hope it helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜