如何实现在IOS应用谷歌图片搜索? [英] How to implement google image search in IOS application?

查看:273
本文介绍了如何实现在IOS应用谷歌图片搜索?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要实现我的iOS应用谷歌图片搜索,会出现一个搜索栏,其中用户可以输入任何事情来得到相关的图像,像老鼠,这将通过给老鼠的形象造成的,那么这些图像将显示在我的应用程序。
是否有这给谷歌图片搜索结果的API或别的东西。

I want to implement google image search in my IOS app, there would be a search bar in which user can enter anything to get images related, like mouse and this will result by giving images of mouse, then those images will be displayed in my app. Is there any API or something else which gives google images search result.

推荐答案

您可以将查询发送给谷歌服务器,然后您收到的所有信息作为JSON文件。

You can send a Query to Google Servers and then you receive all information as a json file.

有关详细信息: https://开头的开发。 google.com/image-search/v1/jsondevguide?hl=de&csw=1

这是用于搜索模糊猴子和返回8结果(RSZ = 8)

This is the URL for searching for "fuzzy monkey" and returning 8 result (rsz=8)

https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=fuzzy%20monkey&rsz=8

这篇关于如何实现在IOS应用谷歌图片搜索?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆