Summary
In this chapter, we looked at the urllib.request, requests, requests-oauthlib, and pyjwt modules for building HTTP clients and implementing authentication. The requests module is a very useful tool if we want to consume API endpoints from our Python application. In the last section, we reviewed the main authentication mechanisms and how to implement them with the requests module.
In the next chapter, we will explore network programming packages in Python to analyze network traffic using the pcapy and scapy modules.