
- Python
- Intermediate
About this Course
Building an API with Flask can be pretty simple but you'll often end up with a large amount of code in just one or two files. In other words, it can be messy! But with a few simple tools like Flask-RESTFul, Flask-Limiter, and Flask-HTTPAuth, you can build a clean, well-organized, and strong API with this great, lightweight Python framework.
What you'll learn
- Flask-RESTful
- Token authentication
- Rate limiting
Resourceful Blueprints
The backbone of your Flask API is the Resource class from Flask-RESTful. You'll build strong, intelligent resources and then link them and your Flask app together using the Blueprint feature from Flask itself.
12 stepsAPI Protection
You have a great API but it's wide open to the world. Time to put some locks on the doors with authentication and prevent a stampede with rate limiting. A couple of great Python and Flask packages will handle all of this.
8 stepsTeacher
-
Kenneth Love
Besides teaching Python, Kenneth Love is a husband and father. He created a few popular Python libraries, worked at most levels of the web stack, and was the Creative Director of a newspaper. He likes board games, whiskey, activism, and dry humor.