title: Google Analytics API on Codeigniter website
body: <p>I've been trying to get Google API to work on my website for days now, but not getting it to work. Everywhere I search I find outdated examples... I need it to work with codeigniter and all I want to do is to fetch data from Google Analytics to show in the admin dashboard on my codeigniter website.</p>
  
  <p>I understand that I need a Service Account, if I don't want to be authenticating everytime I look at the dashboard(?)</p>
  
  <p>Can anyone please help me with getting this to work? Thank you so much in advance!</p>
  
  <p>What I want done is: Fetch data from google analytics, return that data as maybe json, then I guess I can make a chart out of it with a plugin (perhaps some jQuery plugin already exists, or can I use googles own chart drawers?) and show this to administrators. I just want really simple data, as for example, how many users the last month...</p>