As Flask is built to be extensible, there are many add-on modules that are designed to ease the creation of REST APIs. These include:
- Flask-RESTful (https://flask-restful.readthedocs.io/en/latest/)
- Eve (http://python-eve.org/), which is built on top of Flask and Cerberus
- Flask-REST-JSONAPI (https://github.com/miLibris/flask-rest-jsonapi)
This chapter will use vanilla Flask capabilities, along with SQLAlchemy and GeoAlchemy2 for database queries, to illustrate the basics of API creation.