开发者

how to implement autocomplete in google search for a IOS application?

Im working with a developer in creating a iphone search bar in an applications that searches googl开发者_运维知识库e when a user enters a query in my app.

I've been researching but haven't been able to find a solid answer.

Is there any code that I can implement where I can make use of the autocomplete/ website suggestion feature that google uses.

An app called flex search (http://chomp.com/a/1JPX/flex-search-mobile-research-app-for-google-bing-wikipedia) enables the same feature and I'm looking to implent that in my own IOS application when users search google.

Thanks for all your help!!


You can retrieve the google suggestions in json format by sending a request to http://google.com/complete/search?output=toolbar&client=chrome&q=SEARCHTERM

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜