Loading Video...
How to Efficiently Create Modern REST APIs With FastAPI and Odoo
Location: Studio 5 - 10/7/21, 9:00 PM - 10/7/21, 9:30 PM (Europe/Brussels) (30 minutes)

How to Efficiently Create Modern REST APIs With FastAPI and Odoo
Stéphane Bidoul Developer  at Acsone http://acsone.eu

Founder and CTO at Acsone. Member of the Board of the Odoo Community Association.

In this talk we will present a method to rapidly create beautiful, well-documented, and fast REST APIs, using the FastAPI library and the Odoo backend API.

FastAPI is a popular python library to create REST APIs and backend web applications, with automatic OpenAPI schema and documentation generation and automatic parameter validation.

After a brief introduction to OpenAPI, FastAPI, and the Odoo backend API, we'll discuss topics such as multiprocessing and multithreading, authentication, authorization, cache management, and more.

Attendees will learn how to safely and productively get the most of the Odoo internal API outside the context of the usual Odoo server. We will discuss when this approach is useful compared to other approaches such as using XML-RPC, JSON-RPC, or community modules such as base_rest or graphql_base.

This presentation is targeted towards developers who need to rapidly and efficiently expose Odoo databases to third-party systems in a safe, resilient, and future-proof way.