本文介绍了图片搜索API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与许多开发人员一样,我对 Google 为何弃用了如此多的 API(图像、翻译等)感到非常困惑.有谁知道一个很好的替代图像 API 有点准确?Flickr 在我的测试中似乎很不准确:/

Like many developers, I'm pretty confused on why Google deprecated so many of its APIs (Images, Translate etc). Does anyone know of a good alternative image API that is somewhat accurate? Flickr seems pretty inaccurate in my testing : /

扎克

推荐答案

这真的取决于你在寻找什么.主要的替代方案是雅虎的Boss APIBing 的图片搜索 API您提到的 Flickr API.

It really depends what you're looking for. The major alternatives out there are Yahoo's Boss API, Bing's Image Search API, and Flickr's API which you mentioned.

Bing 和 Yahoo 的图片数量都比 Flickr 多.

Bing and Yahoo both have larger amounts of images than Flickr.

然而,Flickr 在您实际可以对图像执行的操作方面更为宽松.必应和雅虎都限制了你的能力.例如,Bing 不允许您对搜索结果重新排序,而 Yahoo 对您可以发出的请求数量有硬性限制.只要您不发送垃圾邮件请求或滥用用户对图像的权利,Flickr 基本上允许您做任何事情.

Flickr is more lenient in terms of what you can actually do with the images however. Both Bing and Yahoo limit what you can do. For example, Bing doesn't allow you to reorder your search results and Yahoo has a hard-limit on the number of requests you can make. Flickr allows you to do basically anything as long as you don't spam requests or abuse their user's rights to the images.

Bing 也倾向于拥有更详细的搜索引擎,因为您可以搜索与 Yahoo 或 Flickr 不同的颜色和类别.

Bing also tends to have the more detailed search engine, as you can search for different colors, and categories than Yahoo or Flickr.

最后,我建议阅读他们各自的服务条款(Flickr必应雅虎),并使用适合您心目中的项目的那个.

In the end, I'd advise reading over their respective Terms of Services(Flickr, Bing, Yahoo), and using the one that fits what project you have in mind.

希望对您有所帮助,祝您好运!

I hope this helps, and good luck!

这篇关于图片搜索API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 22:28