google-discovery-backbone
v0.1.10
Published
Create Backbone Relational Models from a Google Discovery Document
Downloads
9
Maintainers
Readme
google-discovery-backbone
Create a Backbone Relational API from a Google Discovery Document.
Install
$ npm install google-discovery-backbone --save
Usage
var DiscoveryBackbone = require('google-discovery-backbone');
var SailsBackbone = require('sails-backbone');
var doc = { /* google discovery document */ };
var models = { };
DiscoveryBackbone.generate(doc)
.then(function (orm) {
models = SailsBackbone.parse(orm);
});
License
MIT