Building Beautiful RESTful APIs Using Flask
Offered By: EuroPython Conference via YouTube
Course Description
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
Related Courses
A Brief History of Data StorageEuroPython Conference via YouTube Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube