在Ruby中使用Google搜索REST API
答
宝石googleajax
是有是:
require 'googleajax'
GoogleAjax.referer = "your_domain_name_here.com"
GoogleAjax::Search.web("Hello world")[:results][0...3]
我的答案有问题吗? – 2010-05-05 15:51:23
对不起,忘了选择它。非常感谢! :) – Dogbert 2010-05-06 21:44:29