I want to retrieve data from Google analytics. I have created a service account in the console and I am using Google's Python (hello_analytics_api_v3.py
) code to access the data.
I have copied the client_secrets.json
into my folder but get this error:
*SystemExit:
WARNING: Please configure OAuth 2.0
To make this sample run you will need to populate the client_secrets.json file
found at:*
What should I do? I am using Python 2.7.
Ensure the terminal is pointing to the same path directory as your client_secrets.json
file.
i.e. type pwd
in the console you're using to call the script and the output should match the directory of where client_secrets.json
is stored.