how to add an api to flask application code example
Example: creating an apis with python and flask
""" This website does pretty-good explanation with a working example
https://programminghistorian.org/en/lessons/creating-apis-with-python-and-flask
"""