Course Content
Professional Web API with Flask
Professional Web API with Flask
User 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.
Thanks for your feedback!