title: Google BigQuery with Rails
body: <p>I want to get the top repositories on Github to display on my Rails App. I think I'm half way through.</p>
  
  <p>This is the code I'm using on Google BigQuery:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>Is there any way I can get this query's results as a JSON so I can parse them in my Rails app?</p>
  
  <p>Thanks in advance.</p>