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

YouTube

Building Beautiful RESTful APIs Using Flask

EuroPython Conference via YouTube

Overview

Learn to build robust and well-documented RESTful APIs using Flask and Flask-Restplus in this 26-minute conference talk from EuroPython 2016. Explore techniques for automating common API tasks, including input validation, output serialization, request routing, and exception handling. Discover how to leverage Swagger to generate interactive UI documentation, making endpoint testing and exploration effortless. Gain insights into best practices for developing scalable and maintainable APIs, and get an overview of the Flask ecosystem's powerful components that rival fully-featured frameworks like Django.

Syllabus

Intro
WHAT IS A WEB API?
ANATOMY OF HTTP
REST CONVENTIONS
FLASK-RESTPlus
OPEN API SPECIFICATION
REQUEST METHOD
REQUEST PATH
QUERY ARGUMENTS GET /api/books?page=1&per_page=10
REQUEST BODY (SON) API MODELS
API MODELS INHERITANCE AND NESTING
RESPONSE STATUS CODE
RESPONSE BODY (SON)
EXCEPTION HANDLING

Taught by

EuroPython Conference

Reviews

Start your review of Building Beautiful RESTful APIs Using Flask

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.