Web API Development with Flask [Video]

Web API Development with Flask [Video]

Learning
Gergo Bogdan

Master RESTful API development with Python and Flask
$22.50
RRP $74.99
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos โ€“ youโ€™ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Video Details

ISBN 139781783551750
Course Length1 hour and 40 minutes

Video Description

Whether working in the enterprise, building for web or mobile, you will need to build (if you haven't already) RESTful APIs to serve data between different client applications and endpoints. This course delivers the fundamental knowledge required to enable highly connected interaction between applications through building RESTful web APIs.

Building good web APIs is not an easy task, but is a necessity for applications that support multiple platforms (mobile, tablet, and web applications) especially with the modern, mobile-first approach to development. In this course, you will learn how to build up and structure an effective web API that can be used by any client application accessing it over the HTTP protocol.

We will start out with basics of the Flask framework before establishing a comprehensive foundation of working with CRUD operations using SQLAlchemy and MySQL as the data store. Youโ€™ll get an understanding of how REST works relative to APIs, and weโ€™ll cover how to test APIs written in Python with the support of Flask. You will learn about token-based authentication and find out how to store passwords securely in your database. Best practices and design guidelines when building large applications are also presented.

After completing Web API Development with Flask, you will have enhanced your technical knowledge about RESTful web APIs and have absorbed best practices that can be applied practically in the future.

Style and Approach

This is a step-by-step video course that quickly introduces the fundamentals of the Flask framework before demonstrating how to develop a functional web API.

Table of Contents

Getting Up to Speed with Flask
The Course Overview
Setting Up Flask and Creating Your First Flask Application
Custom Routing Configuration
Flask Template Usage
Flask Flash Messages and Custom Error Pages
Implementing Create and Read through a RESTful API
CRUD and REST Basics
Using SQLAlchemy for Model Mapping
Implementing Create
Implementing Read
Implementing Update and Delete through a RESTful API
Implementing Update
Implementing Delete
Hypermedia
Implementing Pagination
Extending the Web API
RESTful Authentication
HTTP Caching
Error Handling in RESTful APIs
Guidelines for Building Large Projects
Securing Web APIs
Why Use HTTPS?
Token Authentication
Usage of Cookies
Storing Passwords
Testing Web APIs
Using the Flask Test Client
Testing Custom Flask Routes
Testing CRUD
Testing Authentication

What You Will Learn

  • Understand the fundamental capabilities of the Flask framework
  • Find out how HTTP/Verb methods are used for CRUD operations
  • Become efficient using SQLAlchemy to store and query data models 
  • Design and develop large applications independently from Flask
  • Integrate and develop authorization mechanisms in web APIs
  • Explore security principles, and understand how storing passwords should be implemented
  • Use the Flask test client efficiently to run automated tests

Authors

Screenshots

Table of Contents

Getting Up to Speed with Flask
The Course Overview
Setting Up Flask and Creating Your First Flask Application
Custom Routing Configuration
Flask Template Usage
Flask Flash Messages and Custom Error Pages
Implementing Create and Read through a RESTful API
CRUD and REST Basics
Using SQLAlchemy for Model Mapping
Implementing Create
Implementing Read
Implementing Update and Delete through a RESTful API
Implementing Update
Implementing Delete
Hypermedia
Implementing Pagination
Extending the Web API
RESTful Authentication
HTTP Caching
Error Handling in RESTful APIs
Guidelines for Building Large Projects
Securing Web APIs
Why Use HTTPS?
Token Authentication
Usage of Cookies
Storing Passwords
Testing Web APIs
Using the Flask Test Client
Testing Custom Flask Routes
Testing CRUD
Testing Authentication

Video Details

ISBN 139781783551750
Course Length1 hour and 40 minutes
Read More