1

I am trying to get the Hello Analytics example running to use OAuth2 to connect to the Google Analytics API with Python. The code I'm using is the example code found here, but with my project client_id and secret. https://code.google.com/p/google-api-python-client/source/browse/samples/analytics/hello_analytics_api_v3.py

However, I get the following error: EOFError: EOF when reading a line

Searching StackOverflow I see others have had the same problem but there wasn't any answer offered. EOF error with Google oauth2client (Python, google-app-engine)

I'm a beginner and appreciate any help you can offer. Thanks.

Community
  • 1
  • 1
user52676
  • 11
  • 2

1 Answers1

0

You should check out the recently update Hello Analytics API docs. It gives examples for both service accounts and installed apps in Python.

Matt
  • 5,028
  • 2
  • 28
  • 55