Skip to main content

flask-restful URLs list

Project description

Generates list of API endpoints for flask-restful.

Outputs JSON for endpoint paths, methods and docstrings for both classes and methods (if available).

Installation:

pip install flask_restful_url_generator

or clone the repository and run

python setup.py install

Usage:

from flask_restful_url_generator import UrlList
from flask import Flask
from flask_restful import Resource, Api

app = Flask(__name__)
api = Api(app)

# define your resources here
# api.add_resource(YourClass, "/yourpath/...")
api.add_resource(UrlList, "/", resource_class_kwargs={"api": api})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_restful_url_generator-0.0.4.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distributions

flask_restful_url_generator-0.0.4-py2.py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page