Metadata-Version: 2.0
Name: flask-api-handler
Version: 0.1.3
Summary: A small wrapper for flask app to ease the endpoints creation
Home-page: https://github.com/shahar84/flask-api-handler
Author: Shahar Polak
Author-email: makore.shahar@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Keywords: Flask API REST flask-restful
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: flask

Flask API handler
=================

A small wrapper for flask app to ease the endpoints creation

Motivation
----------

We have been using Flask-RESTful for most of our project for the past
couple of years, and when we mapped exactly what we need from it, it was
mostly the way it allows the user to add routing.

This small module replace for us this functionality, so I’ve desided to
share it with whoever want to give it a try :wink:

Getting Started
---------------

This wrapper helps davide the Flask App into modules and to use
**Class** handlers instead of functions for views

Prerequisites
-------------

The only requirement for this project is Flask

Usage
-----

.. code:: python

    from flask import Flask
    from flask_api_handler import ApiHandler

    form example import UserHandler
    form example import PaymentHandler

    app = Flask(__name__)

    # Init the api handler 
    api = ApiHandler(app)

    # Add the endpoints 
    api.add_handler('/user', UserHandler)
    api.add_handler('/payment', PaymentHandler)

TODO
----

-  Make pip installable
-  Add tests


