Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python REST API Tutorial - Building a Flask REST API

Dave Gray via YouTube

Overview

Learn how to build a Flask REST API in this comprehensive 40-minute tutorial for beginners. Explore the fundamentals of REST and APIs, set up a virtual environment, and install necessary dependencies. Create a simple REST API, model data, and establish a database. Dive into Flask Restful, define arguments with RequestParser, and implement resource endpoints for users. Master techniques for marshalling and serializing JSON data, handling POST requests, and managing user-specific endpoints. Gain hands-on experience in updating and deleting data, equipping yourself with essential skills for backend web development using Python and Flask.

Syllabus

Intro
Welcome
Tutorial Prerequisites
What is REST? What is an API?
REST API Diagram
Virtual Environment set up
Install Dependencies
A Simple REST API
Modeling Data & Creating the Database
Flask Restful
Define args with RequestParser
/api/users Resource Endpoint
Marshalling / Serializable JSON Data
POST Data
/api/users/id Resource Endpoint
Update & Delete Data

Taught by

Dave Gray

Reviews

Start your review of Python REST API Tutorial - Building a Flask REST API

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.