标签: python google-analytics
from apiclient.discovery import build from oauth2client.service_account import ServiceAccountCredentials SCOPES = ['https://www.googleapis.com/auth/analytics.readonly']KEY_FILE_LOCATION = 'My Project-a8ff9b29ba2c.json' VIEW_ID = '189024056'