<commit_before>Google Analytics Service Account Sample
=========
Console application written in C# to demonstrate accessing Google Analytics Data via a Service Account and OAuth 2.0. 
Judging from the documentation, it appears methods and libraries for accessing Google Apis change constantly,
but this application was working as of January 2014.

## Building the Application
In order to build the application, you will need to add values to the following keys in the App.config appSettings section:

1. ServiceAccountEmail: Created in the Google Developers Console under the application from which you will pull analytics
 data. Currently, you
navigate to APIs & auth > Credentials > OAuth > CREATE NEW CLIENT ID
2. CertificateName: The name of the certificate you downloaded upon creation of the Service Account. I have configured
the application to look in the current user's Windows account under the (hidden) AppData/Roaming folder.
3. ApplicationName: The name you gave your application in the Google Developers Console.
4. ProfileId: This is the nine-digit number at the end of the URL on the Google Analytics page for your
 application, following the letter "p". Yes, I realize this is obscure, but I did not come across a straightforward way to find 
this attribute.


## MIT License

Copyright 2013 <NAME> under the [MIT License](LICENSE).
<commit_msg>Readme clarification.<commit_after>Google Analytics Service Account Sample
=========
Console application written in C# to demonstrate accessing Google Analytics Data via a Service Account and OAuth 2.0. 
Judging from the documentation, it appears methods and libraries for accessing Google Apis change constantly,
but this application was working as of January 2014.

## Building the Application
In order to build the application, you will need to add values to the following keys in the App.config appSettings section:

1. ServiceAccountEmail: Created in the Google Developers Console under the application from which you will pull analytics
 data. Currently, you
navigate to APIs & auth > Credentials > OAuth > CREATE NEW CLIENT ID. You also need to add this address to the Admin section
of your Google Analytics dashboard under User Management for your application. The account will need "Read & Analyze" access. 
2. CertificateName: The name of the certificate you downloaded upon creation of the Service Account. I have configured
the application to look in the current user's Windows account under the (hidden) AppData/Roaming folder.
3. ApplicationName: The name you gave your application in the Google Developers Console.
4. ProfileId: This is the nine-digit number at the end of the URL on the Google Analytics page for your
 application, following the letter "p". Yes, I realize this is obscure, but I did not come across a straightforward way to find 
this attribute.


## MIT License

Copyright 2013 <NAME> under the [MIT License](LICENSE).

{'fraction_non_alphanumeric': 0.04425385934819897, 'fraction_numerical': 0.00960548885077187, 'mean_word_length': 4.797216699801193, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7330120', 'n_tokens_mistral': 697, 'n_tokens_neox': 640, 'n_words': 430}