Skip to content
This repository was archived by the owner on Aug 17, 2020. It is now read-only.
/ restfulgae Public archive
forked from carlozamagni/restfulgae

Just plug your models into this Google App Engine JSON REST API, and assign it to a webapp route. Uses webapp2 and python 2.7. Write support is currently experimental.

License

Notifications You must be signed in to change notification settings

WCF/restfulgae

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restfulgae

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])
])

About

Just plug your models into this Google App Engine JSON REST API, and assign it to a webapp route. Uses webapp2 and python 2.7. Write support is currently experimental.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%