From the course: Advanced Python: Practical Database Examples
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
API frameworks in Python - Python Tutorial
From the course: Advanced Python: Practical Database Examples
API frameworks in Python
- [Narrator] When building an API, there are a few different libraries and frameworks you can use within Python. Flask is one option. It's a Python-based microframework used by developers to make micro web services. We'll be exploring Flask later in this course when we build a full stack application. Another option is Django. Django is a Python-based REST framework that supports templating, routing, authentication, and management tools by default. It also integrates with SQL Lite, Mongo DB, and Dynamo DB. There's also Falcon. Falcon is a high-performance REST framework focused on quality control. It's used to build reliable application backends and easily integrates with no SQL. Given all of these, the technology we'll be building our API with is FastAPI. FastAPI is a modern, high-performance, web framework for building APIs with Python 3.7 and higher. It's easy to use, very fast, and minimizes code duplication.…
Contents
-
-
-
What is an API?2m 45s
-
(Locked)
API frameworks in Python1m 29s
-
(Locked)
Set up FastAPI in a Python application4m 6s
-
(Locked)
Define a database schema2m 56s
-
(Locked)
Create a MySQL database3m 45s
-
(Locked)
Create an API contract2m 22s
-
(Locked)
Build a POST endpoint with FastAPI2m 27s
-
(Locked)
Call a new API using Postman3m 35s
-
(Locked)
Add data to a database in Python using SQLAlchemy4m 45s
-
(Locked)
Integrate a database with a FastAPI application3m 33s
-
(Locked)
Challenge: Develop a GET endpoint with FastAPI and a DB1m 35s
-
(Locked)
Solution: Develop a GET endpoint with FastAPI and a Database7m 22s
-
-
-
-