3

我正在创建一个应用程序,我在其中尝试使用 Google-image-search API 实现 google 图像搜索。我参考了这个 [google API 链接] ( https://developers.google.com/image-search/v1/ )。但我有一个问题,在那个页面上,提到(已弃用)。那么我可以使用这个 API 还是应该使用其他 API?任何人都可以知道这件事吗?

先感谢您

4

2 回答 2

6

如果 API 被弃用,它们可能现在可以工作,但功能不完整,并且可能在不久的将来下线。

如果你去 https://developers.google.com/image-search/

它说它已弃用,现在请求的数量受到限制。

Important: The Google Image Search API has been officially deprecated as of May 26, 2011.     
It will continue to work as per our deprecation policy, but the number of requests you may make per day may be limited. We encourage you to upgrade to the Custom Search API, which now supports image search. 

这是自定义搜索 API 的链接

https://developers.google.com/custom-search/

希望能帮助到你

于 2013-05-16T04:21:22.447 回答
2

已弃用意味着它是较旧的,也意味着存在新的版本代码。看看这个

例子:

例如,为了将我们的搜索引擎从基于 webresults 更改为基于图像,我们可以利用该defaultToImageSearch属性。

于 2013-05-16T04:10:02.353 回答