iOS应用的谷歌图像搜索API

时间:2022-09-10 19:26:40

I am creating an application in which I am trying to implement google image search using Google- image-search API. I refer this [google API link] (https://developers.google.com/image-search/v1/) . But I have one problem, on that page, mentioned (DEPRECATED). So can I use this API or I should use other API? Can anyone knows about this?

我正在创建一个应用程序,在其中我尝试使用谷歌- image-search API实现谷歌图像搜索。我引用这个[谷歌API链接](https://developers.google.com/image-search/v1/)。但我有一个问题,在那一页,提到(不赞成)。我可以使用这个API还是应该使用其他API?有人知道吗?

Thank you in advance

提前谢谢你

2 个解决方案

#1


1  

Deprecated means it is older one also it means that there exist new version code for that. Check this out.

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

Example:

例子:

For example, in order to change our search engine from webresults-based to image-based, we can utilize the defaultToImageSearch attribute.

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

#2


5  

If APIs are deprecated they may work for now but not with full features and may go offline in near future.

如果不赞成使用api,它们现在就可以工作,但是没有完整的特性,并且在不久的将来可能会离线。

If you go to https://developers.google.com/image-search/

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

It says its Deprecated and the number of requests are limited now.

它说,它的弃用和请求的数量现在是有限的。

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. 

Here is the link to Custom Search API

这是自定义搜索API的链接

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

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

Hope it helps

希望它能帮助

#1


1  

Deprecated means it is older one also it means that there exist new version code for that. Check this out.

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

Example:

例子:

For example, in order to change our search engine from webresults-based to image-based, we can utilize the defaultToImageSearch attribute.

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

#2


5  

If APIs are deprecated they may work for now but not with full features and may go offline in near future.

如果不赞成使用api,它们现在就可以工作,但是没有完整的特性,并且在不久的将来可能会离线。

If you go to https://developers.google.com/image-search/

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

It says its Deprecated and the number of requests are limited now.

它说,它的弃用和请求的数量现在是有限的。

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. 

Here is the link to Custom Search API

这是自定义搜索API的链接

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

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

Hope it helps

希望它能帮助