flask-restful-routing

An easier way to register flask-restful routes


License
Other
Install
pip install flask-restful-routing==1.0.3

Documentation

flask-restful-routing

Installation

pip install marshmallow-sqlalchemy-referential

Sample Usage

restful_api = Api(app)
resources = RouteRoot([
    Route('login', '/login', Login),
    Route('search', '/search', Search),
    Route('document', '/documents', Documents, Document, [
        Route('attachment', '/attachments', Attachments, Attachment)
    ])
])

resources.register_routes(restful_api)