Youtube API 搜索自动完成

编程入门 行业动态 更新时间:2024-10-25 16:27:37
本文介绍了Youtube API 搜索自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用 Youtube API,我想要一个搜索自动完成功能,就像在 YouTube,当您在搜索输入框中键入内容时,它会为您提供搜索建议.我已经阅读了文档,但仍然缺少,这可以使用 API 吗?

I'm using Youtube API, I'd like to have a search auto-complete feature, just like on YouTube, when you type into the search input box, it gives you search suggestions. I've read the docs, but still missing, Is this possible using the API?

推荐答案

好的,我找到了这个网址:

Ok I found this URL:

suggestqueries.google/complete/search?client=firefox&ds=yt&q=Query

它不是 Youtube API 的一部分,但仍然有效,返回 JSON 响应.

It isn't part of Youtube API, but still works, returns a JSON response.

更多推荐

Youtube API 搜索自动完成

本文发布于:2023-11-30 00:35:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1648133.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自动完成   Youtube   API

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!