Google搜索在c#windows应用程序中

Far*_*nzi 1 c# google-webmaster-tools

对不起,我的英语不好.
我需要在我的c#windows应用程序中添加谷歌搜索,因此当用户点击按钮应用程序将搜索查询发送到谷歌时,我在表单中添加了一个文本框和一个按钮.正如你所看到的,谷歌的搜索文本框有很好的自动完成功能.有没有办法将自动完成添加到我的应用程序?

Jac*_*ack 5

是的,您可以查询网址:

http://suggestqueries.google.com/complete/search?client=firefox&q=YOURQUERY
Run Code Online (Sandbox Code Playgroud)

例如,http://suggestqueries.google.com/complete/search?client=firefox&q=justin将返回:

["justin",["justin bieber","justin timberlake","justin tv","justin timberlake tour","justin boots","justin blackmon","justin baldoni","justin bieber twitter","justin long","justin moore"]]
Run Code Online (Sandbox Code Playgroud)