Search code examples
pythongoogle-app-enginegoogle-api-python-clientgoogle-cloud-storage

How can I use the OAuth2Decorator with Google Cloud Storage?


I am following this instructions in order to connect my app engine python web service with Google storage and specifically to be able to use files API. I went through the buzz example but doesn't seem to work for me. I need the web service to authorize in the background in order to be able to retrieve my files from storage.

I am trying to use the decorator in order to pass my client_id and client_secret but the process is not quite clear to me. Someone who can provide an example or elaborate a bit in the process?

edit: I am using python 2.7 runtime.


Solution

  • I managed to get it running properly by using the gslite.py script from the au-to-do google appengine project with my credentials.