Modern APIs with FastAPI and Python Transcripts
Chapter: Building our first API
Lecture: Introducing our first API

Login or purchase this course to watch this video and the rest of the course contents.
0:00 It's time to write our first FastAPI API. We're going to create a simple application that will actually show us a ton of the
0:10 moving parts of FastAPI. Now, because I want to just focus on getting everything set up, I'm gonna first have us build a simple little calculator
0:19 API. You'll be able to submit a couple of numbers that will do some simple math. The programming will be as basic as it gets.
0:26 But what will not be basic will be all the things around FastAPI we're doing: the types being passed in, the validation,
0:33 the required fields, the error reporting, all of those types of things. We're going to focus on that and then going to come back for a second iteration
0:39 and build a much more interesting and complicated API that would be, well, more realistic. But let's start by building a really cool calculator app.


Talk Python's Mastodon Michael Kennedy's Mastodon