开发者

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

开发者 https://www.devze.com 2023-03-20 13:34 出处:网络
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.

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

精彩评论

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