blob: 2811da7baf647ee80148d6c728eeb8be44136819 [file] [log] [blame]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import logging
import os
import sys
# The email address for the API Service Account
# (...@developer.gserviceaccount.com)
GOOGLE_API_ID = ''
# See README on how to obtain this file.
try:
with file('privatekey.pem', 'r') as f:
GOOGLE_API_PRIVATE_KEY = f.read()
except IOError:
logging.exception('private key for Google API Service Account not found.'
+ ' (should be at privatekey.pem)')
sys.exit(os.EX_DATAERR)
# Used by BigQuery API
# The project id which the uploaded data is in.
PROJECT_ID = ''
# The dataset id which the uploaded data is in.
DATASET_ID = ''