https://academyit.net/articles/learn-how-to-build-an-api-with-python