create a get api using flask 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
"""