REST APIs are everywhere around us and are used to build good-quality software. In data science, they are used to deploy machine learning models to production, so no, you can’t avoid them in the long run. Today we’ll create a simple but fully functional database-driven API with Python and Flask-RESTful
.
Here’s a quick rundown of the technologies used:
Flask
library. Enables us to develop APIs quicklyAnd that’s pretty much it. This article should be easy to follow, and it shouldn’t take you more than 10-15 minutes to complete (if following along with the code).
The article is structured as follows:
You can download the source code here. Let’s get started.
#python #rest api #database