Shweta Palande
Devouring APIs with Python
#1about 2 minutes
Understanding the role of an application programming interface (API)
An API acts as a communication layer that allows different software applications, like a taxi app and Google Maps, to exchange data and functionality.
#2about 4 minutes
Deconstructing the components of a REST API URL
A REST API URL is broken down into the protocol, server host, resource path, and optional parameters for filtering data.
#3about 1 minute
Distinguishing between client libraries and API frameworks
Client libraries like `requests` are used to send HTTP requests to endpoints, while API frameworks like `Flask` provide tools to build your own API endpoints.
#4about 5 minutes
Making synchronous requests with the Python requests library
The `requests` library simplifies making HTTP GET and POST requests in Python with a clean, one-line syntax.
#5about 6 minutes
Using the pycurl library as a libcurl wrapper
The `pycurl` library provides a Python interface to `libcurl` for making API calls, offering more control but with a more complex syntax than `requests`.
#6about 5 minutes
Building a simple API with the Flask microframework
Flask allows developers to quickly define API routes and handle different HTTP methods using decorators on Python functions.
#7about 3 minutes
Structuring APIs with the Flask-RESTful extension
The Flask-RESTful extension adds a layer of abstraction for building REST APIs by organizing endpoints into resources, leading to cleaner code.
#8about 8 minutes
Demonstrating synchronous API calls with a live coding example
A synchronous script using the `requests` library fetches 100 URLs sequentially, highlighting the performance bottleneck of waiting for each request to complete.
#9about 3 minutes
Explaining multiprocessing and multithreading with analogies
Multiprocessing achieves true parallelism with multiple CPUs, while multithreading creates the illusion of parallelism on a single CPU, constrained by Python's GIL.
#10about 13 minutes
Achieving high performance with asyncio and aiohttp
Using `asyncio` with the `aiohttp` library enables non-blocking API calls, drastically reducing execution time by performing other tasks while waiting for I/O.
#11about 1 minute
Exploring resources for further API development learning
Cisco DevNet offers learning labs, code samples, and automation exchanges to help developers expand their Python and REST API skills.
#12about 7 minutes
Q&A on concurrency models and developer tools
The discussion covers when to choose different concurrency models, favorite VS Code plugins like Tabnine and Acrolinx, and best practices for error handling.
Related jobs
Jobs that call for the skills explored in this talk.
Picnic Technologies B.V.
Amsterdam, Netherlands
Intermediate
Senior
Python
Structured Query Language (SQL)
+1
Matching moments
02:55 MIN
Why developers often undervalue their time and paid tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
06:47 MIN
Solving date and time issues with the Temporal API
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
03:07 MIN
Final advice for developers adapting to AI
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
04:09 MIN
How Python became the dominant language for AI
AI in the Open and in Browsers - Tarek Ziadé
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
03:45 MIN
Preventing exposed API keys in AI-assisted development
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
04:30 MIN
Understanding browser APIs that rely on company services
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
Featured Partners
Related Videos
No more Node: Build APIs with Flask and test it with Postman
Teri Eyenike
The Great API Debate: REST, GraphQL, or gRPC?
Alexis Yushin
How to make REST APIs in Django?
Kuldeep Pisda
Concurrency in Python
Fabian Schindler
Python-Based Data Streaming Pipelines Within Minutes
Bobur Umurzokov
Intro to FastAPI
Sebastián Ramírez
API = Some REST and HTTP, right? RIGHT?!
Rustam Mehmandarov
REST in Peace? What does the API protocol of the future look like? Or do we have it already?
Simon Auer
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

BABLE Smart Cities Iberia
Barcelona, Spain
API
Django
Python

Tecdata
Municipality of Madrid, Spain
Intermediate
API
Python
FastAPI

UNITY AG
Lippstadt, Germany
Azure
Julia
Python
FastAPI
Amazon Web Services (AWS)

UST España
Taramundi, Spain
Remote
Azure
Python
FastAPI



OKAPI: Orbits
Barcelona, Spain
Remote
€70-90K
API
React
Node.js
+2


Digistrat consulting
Paris, France
Remote
Go
REST
React
Docker
+3