I'm looking for a while now for a good code example about how tu use the google-api-python-client in Django on Google App Engine.
I found out in another question that the very cool decorator isn't fit for Django.
There is a code example for the google-api-python-client but neither does it make use of Google App Engine nor is it at all documented.
I can't be the only person, that wants to use django on GAE and implement the API. I would be very grateful for some wisdom.
Related
My goal is to build an app powered by Google App Engine + NDB Datastore which facilitates a RESTful API so that I can use VueJS in the frontend.
I am at a lost with this task. From my research, I have been pointed towards endpoints-proto-datastore and Google Cloud Endpoints. The front page of endpoints-proto-datastore states the following:
This library is intended to be used with the Python version of Google
Cloud Endpoints.
This sentence suggests that even this library requires, depends or relates to Google Cloud Endpoints. I have tried to get started with Google Cloud Endpoints and end up dabbling with swagger.io and the Open API. I've been through the rabbit hole for months. At this point, I'm seeking some clarification.
I have the following questions:
What is the best approach to achieving my goal?
What is the relationship between these two pieces of the puzzle (Cloud Endpoints and endpoints-proto-datastore)?
What is the simplest way to get started with my goal?
Thank you.
endpoints-proto-datastore is a library designed to be used with the Cloud Endpoints Framework for Python. However, endpoints-proto-datastore is not itself part of the Cloud Endpoints Framework, and is not supported by Google.
While Cloud Datastore is accessible from any environment, ndb Datastore can be used only in App Engine's Standard environment, so you would need to use the Cloud Endpoints Framework for Python, rather than the regular Cloud Endpoints functionality.
Google App Engine provides an experimental, bleeding-edge OAuth service in its Python SDK, but fails to provide simple example to work with. Has anyone succeeded in working with it? If so, could you provide a snippet?
Here is a very good tutorial
Google App Engine includes this minimal framework called "webapp". Google Code does not list a project page for webapp. The only documentation/information from Google on webapp is in the Google App Engine documentation. Is webapp not usable outside GAE?
You could use webapp outside App Engine - there's very little that's App Engine specific - but it's not designed for it, and thus isn't packaged or documented separately. If you want a webapp-like framework you can use anywhere, check out webapp2. It's a very close copy of webapp, with a lot of improvements and extensions. In fact, we (the App Engine team) like it so much it's the official replacement for Webapp on the Python 2.7 platform!
i am currently developing a web application for a mobile phone. the website is written using google app engine (GAE) under python and django. i have tried using jqtouch to mobilize my website but jqtouch (or django-jqtouch) does not appear to be working.. any ideas on what i should do?
Hi Daniel
I'd try with full django + GAE for the django that's missing from pure GAE. There is a project called www.allbuttonspressed.com that enables full django with google app engine. I hope it can do what you want.
I'm struggling to get Windows Live Web Authentication running on Google App Engine (GAE) using Python, as I'm quite new to the language.
However there are lots of examples for Facebook and Twitter, I was wondering if anyone had come up with a solution for Windows Live yet?
From what I can tell, the SDK you're referring to is just used for authentication, not authorization. That is, it allows you to uniquely identify a user by their Windows Live ID, but not, say, programmatically import their Hotmail contacts.
If this is the case, it would be easier to use the built-in OpenID support that's already available on both sides. The Windows Live OpenID provider is OpenID.Live-INT.com; instructions for authenticating using OpenID on App Engine can be found # http://code.google.com/appengine/articles/openid.html.
I ended up using http://anyopenid.com which provides quite a good bridge to openid, and I was able to use this with Google App Engine.