FSD Development with Python: API Development in Flask


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

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.



Expected Duration (hours)
1.3

Lesson Objectives

FSD Development with Python: API Development in Flask

  • discover the key concepts covered in this course
  • describe the benefits of using Python APIs for FSD
  • describe the principles and methods behind RESTful APIs
  • describe practical applications and considerations for APIs in FSD
  • compare popular API frameworks for Python and list the advantages and disadvantages of each
  • describe the benefits of TDD for API development in Python
  • configure and launch a simple endpoint in a Python Flask server application
  • process data received via GET and POST requests and HTTP headers
  • parse, extract, and return JSON payloads from a Python Flask API server
  • implement default error handlers to return JSON response in a Python Flask API
  • implement logging in a Python Flask API
  • use pytest to run automated tests for API endpoints
  • implement a Python Flask API application with CRUD operations and validate the endpoints
  • Course Number:
    it_fsapipdj_01_enus

    Expertise Level
    Intermediate