code: def _load_secret(self, creds_file):
          '''read the oauth secrets and account ID from a credentials configuration file'''
          try:
              with open(creds_file) as fp:
                  creds = json.load(fp)
              return creds
          except Exception as e:
              sys.stderr.write("Error loading oauth secret from local file called '{0}'\n".format(creds_file))
              sys.stderr.write("\tThere should be a local OAuth credentials file \n")
              sys.stderr.write("\twhich has contents like this:\n")
              sys.stderr.write()
              sys.stderr.write("\n")
              raise e
docs: read the oauth secrets and account ID from a credentials configuration file