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.
envelio
Köln, Germany
Remote
Senior
Python
Software Architecture
Matching moments
02:09 MIN
Understanding APIs and the benefits of Python
No more Node: Build APIs with Flask and test it with Postman
02:20 MIN
Prerequisites and agenda for the FastAPI talk
Build your backend using FastAPI
01:19 MIN
Exploring the key features and benefits of FastAPI
Build your backend using FastAPI
02:03 MIN
What is FastAPI and why is it so popular
Intro to FastAPI
08:23 MIN
Why learning about new APIs benefits developers
Explore new web features before everyone else
04:29 MIN
Exploring the versatility of Python across different domains
Debugging Schrödinger's App
02:27 MIN
Recap and audience questions on FastAPI
Build your backend using FastAPI
04:21 MIN
Improving an API score with practical examples
Lessons learned from observing a billion API requests
Featured Partners
Related Videos
No more Node: Build APIs with Flask and test it with Postman
Teri Eyenike
How to make REST APIs in Django?
Kuldeep Pisda
Concurrency in Python
Fabian Schindler
Intro to FastAPI
Sebastián Ramírez
Python-Based Data Streaming Pipelines Within Minutes
Bobur Umurzokov
Build your backend using FastAPI
Ashmi Banerjee
Accelerating Python on GPUs
Paul Graham
Anvil: Full Stack Web Apps With Nothing But Python
Meredydd Luff
Related Articles
View all articles



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

Code Healers LLC
Hinesville, United States of America
Remote
€40-50K
Intermediate
Senior
PHP
.NET
React
+2


Randstad UK
Charing Cross, United Kingdom
£111-128K
React
Python
Angular
Agile Methodologies

TrinIT Group
Woking, United Kingdom
£104K
API
JIRA
JSON
Python
+3

Talents It
Canton de Levallois-Perret, France
Remote
€45-55K
Intermediate
GIT
Linux
Nginx
+6

Krell Consulting & Training
Remote
€30-39K
Intermediate
Java
Python
Angular

Achil
Paris, France
Senior
React
Python
Docker
FastAPI
PostgreSQL
+1


Requirementsat Quest Global
Yattendon, United Kingdom
GIT
Azure
NoSQL
React
Python
+5