Skip to content

Instantly share code, notes, and snippets.

View markwemekamp's full-sized avatar

Mark markwemekamp

  • Zwolle
View GitHub Profile
@markwemekamp
markwemekamp / GoogleAnalyticsReportingv4ServiceAccount.cs
Created September 17, 2016 16:19
Read data from Google analytics using Google Analytics Reporting v4 and a Service account
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Google.Apis.AnalyticsReporting.v4;
using Google.Apis.AnalyticsReporting.v4.Data;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Services;
namespace Google_api