Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
User and Player Endpoints | Endpoints with Blueprints and MethodView
Professional Web API with Flask
course content

Course Content

Professional Web API with Flask

Professional Web API with Flask

1. Introduction to the Course
2. Database and Models
3. Flask-Smorest and Schemas
4. Endpoints with Blueprints and MethodView
5. Authentication with JWT
6. Deployment

bookUser and Player Endpoints

User Endpoints

We will continue implementing functionality for our endpoints. Let's start with the User. Let's quickly define the GET methods and specify the schemas in the Blueprint response decorators.

Player Endpoints

Now let's move on to Player. We quickly define the GET methods and import models and schema in the resources/player.py.

DELETE Method

let's handle the DELETE method. We literally repeat the functionality from the TeamView.

CREATE Method

UPDATE Method

In the next chapter, we will get acquainted with new functionality for the quick and convenient creation of documentation for our API.

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 6
some-alt