简体   繁体   English

具有多个搜索引擎(Google,Yahoo,Bing)的Web搜索API

[英]Web Search API with multiple search engines (Google, Yahoo, Bing)

I wanted to integrated some search engines(Google, Bing and Yahoo) in to my java application. 我想将一些搜索引擎(Google,Bing和Yahoo)集成到我的Java应用程序中。 I have looked at API's for Google and Bing separately, But I wanted to know can I get any open web search API with multiple search engines like Google Web Search API, Yahoo Boss and Bing Web Search API? 我已经分别查看了Google和Bing的API,但是我想知道我能否获得带有多个搜索引擎(例如Google Web Search API,Yahoo Boss和Bing Web Search API)的任何开放式Web搜索API?

Ex: If I open my Firefox browser, at top right corner I am able to see the search tab where we can have an option to search with multiple search engines as shown in the following screen shot. 例如:如果打开Firefox浏览器,则可以在右上角看到“搜索”选项卡,在这里我们可以选择使用多个搜索引擎进行搜索,如以下屏幕截图所示。

在此处输入图片说明

I need the similar solution. 我需要类似的解决方案。 Your suggestions will be highly appreciated. 您的建议将不胜感激。

Each of the search engines use their own url schema to search. 每个搜索引擎都使用自己的网址架构进行搜索。 It's really just a matter of working out how they build their urls for searching and then building an implementation of that. 实际上,只需要弄清楚他们如何构建用于搜索的URL,然后构建该URL的实现即可。 At least this is how your web browser does it. 至少这是您的Web浏览器的操作方式。

If you're looking for an API in the sense of a native java/javascript (not sure which one you mean), you might be out of luck and have to build it yourself - which shouldn't be too much of a task. 如果您正在寻找一种本机Java / JavaScript的API(不确定要使用的是哪种API),那么您可能会很走运,必须自己构建它-这不应该是一项繁重的工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM