TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How to use garb gem (Google Analytics with Ruby on Rails)?

2 点作者 fawyd大约 12 年前
I'm a RoR newbie and like to fetch some data from the google analytics api (https://developers.google.com/analytics/devguides/config/mgmt/v3/) with ruby on rails and the garb gem. You can find the garb gem here: https://github.com/Sija/garb<p>I struggle at the very beginning, because I don't know things like this:<p>- should I make a ressource for "authentication", "user", "report"? - what should I fill inside the controller and what comes inside the model?<p>The description of this gem on Github is not so detailed for a beginner. Most advanced programmers may use this easy but for me it (the description) says nothing...<p>Does anyone has a little sample app with this gem? Or does anyone can help me the get some basic data from the google analytics api with RoR?<p>KR, Fabian

1 comment

fawyd大约 12 年前
The other descriptions I have found on the internet are also not for beginners:<p>- <a href="http://viget.com/extend/introducing-garb-access-the-google-analytics-data-export-api-with-ruby" rel="nofollow">http://viget.com/extend/introducing-garb-access-the-google-a...</a><p>- <a href="http://geekospace.com/working-with-garb-a-rails-gem-for-google-analytics/" rel="nofollow">http://geekospace.com/working-with-garb-a-rails-gem-for-goog...</a>