FastAPI Python Tutorial - 5: Query users based on criteria: Query parameter
Welcome to our FastAPI Python Tutorial series. You’ll build a basic API using FastAPI as a practice project.
In this Part 5 video, you’ll learn:
✅What are and how to use query parameters?
✅How to make query parameters required or optional?
GitHub Repo with the final code:
Please see below the complete outline for this minicourse:
Part 1: What is FastAPI and How to get started
Part 2: Create the most basic API
Part 3: Set up the users’ path/endpoint
Part 4: Filter for specific users: Path parameter
▶️Part 5: Query users based on criteria: Query parameter
Part 6: Add users: Request body with Pydantic model
Part 7: Update and Delete users
Part 8: Raise error responses
Technologies that will be used:
☑️ PyCharm
☑️ Python
☑️ FastAPI
☑️ Pydantic
Get a