Start learning cybersecurity with CBT Nuggets. https://courses.cbt.gg/security
In this video, Ben Finkel covers how to create an asynchronous API call in Python. A lot of internet resources have detailed articles that discuss all the ins and outs of synchronous and asynchronous programming, but Ben believes it’s more helpful to see it in action and learn how it can improve the responsiveness of your software.
Ben jumps right into the action, displaying the Python code that he’ll begin with. One of the tools you’ll see in this video is a reference to httpbin.org, a publicly available site that allows you to hit several endpoints to test out http calls.
You’ll watch as he combines Python’s built-in http request library with httpbin to define a function he wants to execute, then explain how each piece of it works. The first example is with a synchronous function, and Ben will repeat the process as he creates an asynchronous function to show you how they play out and the advantages they each bring to the table.
🤖 Download the Ultimate DevOps Cert Guide: https://blog.cbt.gg/coeo
⬇️ 6-Week Study Plan: DevNet Associate: https://blog.cbt.gg/23hj
Start learning with CBT Nuggets:
• Python | https://courses.cbt.gg/036
Watch video How to Create an Async API Call with asyncio | Python online without registration, duration hours minute second in high quality. This video was added by user CBT Nuggets 22 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 26,934 once and liked it 312 people.