예제 #1
0
 def _init_service(self, secrets):
     """
     Build an authenticated google api request service using the given
     secrets file
     """
     http = self.authenticate(secrets)
     return auth.init_service(http)
예제 #2
0
파일: ga.py 프로젝트: Al-Harazmi/pandas
 def _init_service(self, secrets):
     """
     Build an authenticated google api request service using the given
     secrets file
     """
     http = self.authenticate(secrets)
     return auth.init_service(http)
예제 #3
0
파일: ga.py 프로젝트: resmio/almighty-gecko
 def _init_service(self):
     credentials = SignedJwtAssertionCredentials(
         self.client_email, self.private_key, self.scope)
     http = Http()
     http = credentials.authorize(http)
     return auth.init_service(http)