This lib can be used to expose your Google App Engine Datastore models via an easy-to-use JSON REST API.
Just include this repository in your project, and plug in your models. Restfulgae will build a Route object for webapp2 for you. It will even inspect an entire module for models, and include them all.
Here, you can import all models from the "mymodels" module, and exposes them via an API
import mymodels, webapp2, restfulgae
application = webapp2.WSGIApplication([
# your app's other routes can go here
restfulgae.BuildRoute("/api", mymodels)
])
Or just list specific models to be exposed
import mymodels, webapp2, restfulgae
application = webapp2.WSGIApplication([
# your app's other routes can go here
restfulgae.BuildRoute("/api", [mymodels.Foo, mymodels.Bar, mymodels.Baz])
])