notion-database flask extension
The flask-notion-database is a Flask extension that allows you to manage routes within your Flask application.
To install the Flask notion-database extension, you can use pip:
pip install flask-notion-databaseFirst, import the NotiondatabaseExtension from the flask-notion-database package:
Then, create an instance of the NotiondatabaseExtension and initialize it with your Flask application:
from flask import Flask
from flask_notion_database import NotionDatabaseExtension
NDE = NotionDatabaseExtension()
app = Flask(__name__)
NDE.init_app(app)Now, you can use the notion-database features in your Flask routes.
run the example.py file to see how the extension works.
http://127.0.0.1:8888/apidocs/#/ will show the swagger documentation of the api.
This project is licensed under the terms of the LGPL license.
Contributions are welcome! Please feel free to submit a Pull Request.