Web API Development with Flask
3.5 (15 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
118 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Web API Development with Flask to your Wishlist.

Add to Wishlist

Web API Development with Flask

Master RESTful API development with Python and Flask
3.5 (15 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
118 students enrolled
Last updated 2/2016
English
Price: $75
30-Day Money-Back Guarantee
Includes:
  • 1.5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Have a coupon?
What Will I 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
View Curriculum
Requirements
  • Developers should be familiar with Python and basic web concepts, such as HTTP verbs and JSON, and should possess basic database knowledge in order to understand SQLAlchemy concepts.
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.

About The Author

Gergo Bogdan is a software engineer with over 7 years of experience in the IT industry. During this time, he worked at small companies and multinational organizations too. He has vast expertise in multiple technologies, starting from .NET to Python to JavaScript to Java. He loves to create technical articles and tutorials for fellow developers.

Who is the target audience?
  • This video is for web developers who want to build RESTful web APIs using Flask with Python.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 25 Lectures Collapse All 25 Lectures 01:39:58
+
Getting Up to Speed with Flask
5 Lectures 28:01

This video will provide an overview of the entire course.

Preview 02:41

The aim of this video is to present how to create a Flask development environment, how to install Flask, how to create a simple web API, and how to run the project.

Setting Up Flask and Creating Your First Flask Application
06:06

In order to create a nicely usable and developer-friendly web API, we need to be able to define separate access paths for the assets that we want to manage through the web API. These paths can be configured by defining custom routing inside Flask.

Custom Routing Configuration
09:15

The goal of this video is to give an overview of Flask's template support.

Flask Template Usage
06:35

In this video, we will review how to send messages from the server-side to templates (flash messages) and how to define and map custom error pages.

Flask Flash Messages and Custom Error Pages
03:24
+
Implementing Create and Read through a RESTful API
4 Lectures 12:58

The purpose of this video is to present the basic concepts behind CRUD operations and the REST software architecture style.

Preview 03:08

The purpose of this video is to present SQLAlchemy, Python’s well-known ORM package, present the new data model for our project and present how to use SQLAlchemy in Python with the MySQL database engine.

Using SQLAlchemy for Model Mapping
03:54

This video aims at presenting how to implement the Create operation (from CRUD) using Flask and SQLAlchemy, and how to apply best practices to Create.

Implementing Create
03:11

The aim of this video is to present how to implement the Read operation from CRUD using SQLAlchemy and Flask.

Implementing Read
02:45
+
Implementing Update and Delete through a RESTful API
4 Lectures 13:47

In this video, we aim to cover how to implement the Update operation from CRUD using Flask and SQLAlchemy as a RESTful API.

Preview 03:54

In this video, we are going to cover how to implement the Delete CRUD operation using Flaks and SQLAlchemy

Implementing Delete
02:42

In this video, we are going to take a look at an advanced topic of REST, Hypermedia, and HATEOAS; these decouple the client and server application architecture.

Hypermedia
04:36

In this video, we are going to cover why it is useful to have paginated data.

Implementing Pagination
02:35
+
Extending the Web API
4 Lectures 18:28

In this video, we are going to cover how to implement authentication in RESTful APIs.

Preview 06:27

In this video, we are going to take a look at how to improve the response time of your API by applying different types of caching.

HTTP Caching
03:06

In this video, we will review the best practices for handling errors within our restful API.

Error Handling in RESTful APIs
04:42

The aim of this video is to cover the design guidelines that should be taken into account when building large applications/APIs using Flask.

Guidelines for Building Large Projects
04:13
+
Securing Web APIs
4 Lectures 14:23

The aim of this video is to present why HTTPS should be used for APIs.

Preview 03:02

The aim of this video is to present how Token Authentication can be implemented using Flaks.

Token Authentication
04:44

The aim of this video is to present how to manage cookies in a Flask application.

Usage of Cookies
02:49

The aim of this video is to present how passwords should be stored within a web application.

Storing Passwords
03:48
+
Testing Web APIs
4 Lectures 12:21

The aim of this video is to present the Flask test client and how can it be used for application testing.

Preview 02:36

The aim of this video is to present how we can test different routes using the Flask Test Client.

Testing Custom Flask Routes
03:16

The aim of the video is to present how to use the Flask Test Client for testing CRUD operations.

Testing CRUD
03:13

The aim of this video is to present how an authentication layer of our Flask application can be tested using Flask Test Client.

Testing Authentication
03:16
About the Instructor
Packt Publishing
3.9 Average rating
4,070 Reviews
32,678 Students
318 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.