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


Release history Release notifications

Download files

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

Files for flask_restful_url_generator, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size flask_restful_url_generator-0.0.4.macosx-10.11-x86_64.tar.gz (3.3 kB) File type Dumb Binary Python version any Upload date Hashes View hashes
Filename, size flask_restful_url_generator-0.0.4-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version 3.5 Upload date Hashes View hashes
Filename, size flask_restful_url_generator-0.0.4.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page