Learners discover how to implement a working API (application programming interface) using Python and the Flask framework in this 13-video course. Explore RESTful APIs, practical applications for APIs, and API framework choices for full stack development. Learn more about API scaffolding, HTTP data processing, working with JSON payloads, handling unexpected errors, and testing APIs with Pytest. Begin by learning about benefits of using Python APIs for FSD (full stack development) and examine principles and methods behind RESTful APIs as well as practical applications and considerations for using APIs in FSD. Then compare popular API frameworks for Python and the advantages and disadvantages of each, and explore the benefits of TDD (test-driven development) for API development in Python. Next, learn how to configure and launch a simple endpoint in a Python Flask server application; implement GET and POST operations in a Python Flask API; and handle unexpected errors, implement logging, and learn how to use Pytest to run automated tests against API endpoints. The concluding exercise involves implementing a Python Flask API app with CRUD operations and validating endpoints.
FSD Development with Python: API Development in Flask