Earn Your Business Degree, Tuition-Free, 100% Online!
Gain a Splash of New Skills - Coursera+ Annual Nearly 45% Off
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build a complete API from scratch using FastAPI in Python through a practical 22-minute tutorial that uses a real-world delivery scenario between New Jersey and New York. Master the fundamentals of API development by understanding what APIs are through simple analogies involving trucks, bridges, and tomatoes, then progress to hands-on coding where you'll create a functional API server with custom endpoints, path parameters, and async request handling. Explore essential FastAPI features including query parameters for dynamic data processing, inventory management systems, comprehensive error handling, and best practices for production-ready APIs. Set up your development environment using Conda and WSL, then implement and test your API using Uvicorn server while building a custom client application that demonstrates real-world API consumption. Gain practical experience with endpoint creation, asynchronous functions, dynamic inventory updates, and connecting frontend applications to backend services, all while following industry best practices for API design and development.
Syllabus
01:22 - What is an API? Explained with trucks & bridges
03:35 - Coding an API Server with FastAPI
06:02 - Creating Endpoints
08:10 - Async Functions
08:42 - Path Parameters
09:45 - Running the API Server with Uvicorn
13:17 - Custom Client App
16:15 - Updating Inventory Dynamically
19:03 - Error Handling in FastAPI
20:15 - Best Practices & Next Steps
21:26 - Thanks for Watching! :
Taught by
Python Simplified