WeAreDevelopers LIVE Mar 2, 2022

Devouring APIs with Python

Shweta Palande

Are synchronous requests choking your Python application? Stop blocking vital server processes. Master asyncio, aiohttp, and Flask to efficiently build and consume powerful REST APIs.

Pause
Mute Enter Fullscreen
#1 about 3 min

Understanding APIs and how applications communicate data

How interfaces enable different software applications to exchange data seamlessly.

#2 about 1 min

Core principles of the REST architectural style

How Representational State Transfer enforces standard communication protocols over HTTP.

#3 about 4 min

Breaking down the components of HTTP request URLs

Anatomy of API endpoints including domains, paths, parameters, and headers.

#4 about 2 min

Overview of Python client libraries and API frameworks

The difference between executing HTTP requests and building abstract web application boilerplate.

#5 about 5 min

Executing GET and POST requests with the requests module

How to extract JSON content, headers, and status codes from server responses.

#6 about 7 min

Using PycURL for multiprotocol file transfer operations

Configuring a Python wrapper over libcurl to stream request outputs to byte buffer inputs.

#7 about 5 min

Creating custom API endpoints using the Flask framework

Writing mapped routing paths to expose internal Python functions as accessible data endpoints.

#8 about 3 min

Structuring modular APIs using the Flask-RESTful extension

Leveraging object-oriented classes to organize web routes with cleaner abstraction layers.

#9 about 3 min

Differences between synchronous and asynchronous program execution

How linear function dependence compares to background task delegation.

#10 about 6 min

Measuring execution time for repeated synchronous API calls

Utilizing the timeit module wrapped across a session executing serial HTTP fetches.

#11 about 3 min

Parallel execution through multiprocessing and multithreading concepts

Achieving parallel workload processing while addressing limitations of Python's global interpreter lock.

#12 about 4 min

Managing concurrent task execution using the asyncio module

Configuring a single event thread to manually switch context while waiting on network operations.

#13 about 10 min

Implementing asynchronous API calls utilizing the aiohttp framework

Replacing inherently synchronous remote fetch libraries to drastically diminish cumulative network wait times.

#14 about 2 min

Exploring developer resources for further API automation learning

Where to discover code repositories and sandbox environments for continued scripting education.

#15 about 7 min

Answering questions on architecture choices and editor plugins

Tips for deciding between concurrency paradigms and leveraging AI tooling for grammar evaluation.

Matching moments

1:42 min

Introduction to the fast API web framework

Sebastián Ramírez · WWC 2022

1:40 min

Summarizing key engineering lessons for platform API development

Anto Anto · WWC 2024

3:35 min

Evaluating benefits and drawbacks of common API formats

Alexis Yushin Alexis Yushin · WWC 2024

1:48 min

Core benefits of using application programming interfaces

Alexis Yushin Alexis Yushin · WWC 2024

57 sec

Choosing the right API protocol today

Simon Auer Simon Auer · WWC 2025

3:10 min

Understanding the core concepts of API design

Alen Pokos · LIVE

Upcoming sessions on this topic

Open session

World Congress 2026 North America

API = Some REST and HTTP, right? RIGHT?!

Rustam Mehmandarov

Passionate computer scientist

Rustam Mehmandarov
Open session

World Congress 2026 North America

Designing APIs That Survive AI Agents at Scale

Phani Pendurthi

Mastercard, Principal Software Engineer

Phani Pendurthi
Open session

World Congress 2026 North America

AI-Driven API Design

Mike Amundsen

Author, Adviser, Trainer

Mike Amundsen
Open session

World Congress 2026 North America

Fast by Design: A Masterclass in High-Performance Web Engineering

Aaron Grogg

Senior web developer, committed to improving the user experience by improving web performance

Aaron Grogg
Open session

World Congress 2026 North America

When Humans Stop Writing Code: Rethinking Languages, Compilers, and Responsibility

Simon Auer

Organizer of flutter vienna meetup and CEO of marqably

Simon Auer
Open session

World Congress 2026 North America

Optimizing consumption and cost of AI APIs in the enterprise

Derric Gilling

Vice President and General Manager, API Platform

Derric Gilling