0
我想让Github上的顶级软件库显示在我的Rails应用程序上。我想我已经过了一半了。Google BigQuery with Rails
这是我使用的是在谷歌的BigQuery代码:
SELECT repository_name, repository_url, MAX(repository_forks) as total_forks, MAX(repository_watchers) as total_watchers, repository_language
FROM [publicdata:samples.github_timeline]
GROUP BY repository_url, repository_language, repository_name
ORDER BY total_watchers DESC
LIMIT 100
有没有什么方法可以让我得到这个查询的结果作为一个JSON,所以我可以在我的Rails应用程序解析它们?
在此先感谢。