Skip to Content
Hands-On RESTful Python Web Services - Second Edition
book

Hands-On RESTful Python Web Services - Second Edition

by Gastón C. Hillar
December 2018
Intermediate to advanced
500 pages
12h 33m
English
Packt Publishing
Content preview from Hands-On RESTful Python Web Services - Second Edition

Summary

In this chapter, we expanded the capabilities of the previous version of the RESTful API we created in the preceding chapter. We used SQLAlchemy as our ORM to work with a PostgreSQL 10.5 database. We added many packages to simplify many common tasks, we wrote code for the models and their relationships, and we worked with schemas to validate, serialize, and deserialize these models.

We combined blueprints with resourceful routing, and we were able to generate the database from the models. We composed and sent many HTTP requests to our RESTful API and analyzed how each HTTP request was processed in our code and how the models persisted in the database tables.

Now that we have built a complex API with Flask, Flask-RESTful, and SQLAlchemy, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building RESTful Python Web Services

Building RESTful Python Web Services

Gastón C. Hillar
Python Command Line Tools

Python Command Line Tools

Alfredo Deza, Noah Gift

Publisher Resources

ISBN: 9781789532227Supplemental Content