我想从谷歌分析中检索数据。我已经在控制台中创建了一个服务帐户,并且我正在使用 Google 的 Python ( hello_analytics_api_v3.py
) 代码来访问数据。
我已将其复制client_secrets.json
到我的文件夹中,但出现此错误:
*SystemExit:
WARNING: Please configure OAuth 2.0
To make this sample run you will need to populate the client_secrets.json file
found at:*
我应该怎么办?我正在使用 Python 2.7。