Skip to content

Instantly share code, notes, and snippets.

@LindaLawton
Created July 20, 2015 10:23
Show Gist options
  • Save LindaLawton/88223e62c3aee8aa6fa4 to your computer and use it in GitHub Desktop.
Save LindaLawton/88223e62c3aee8aa6fa4 to your computer and use it in GitHub Desktop.
Creates a Analytics service with either an OAuth" credential or a service account credentials
var service = new AnalyticsService(new BaseClientService.Initializer() { HttpClientInitializer = credential,
ApplicationName = "Analytics API Sample",});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment