Technical requirements
In this chapter, we will extensively utilize the requests
library. This popular and user-friendly Python library simplifies the process of sending HTTP requests and handling responses. HTTP requests form the foundation of client-server communication in web applications and APIs, enabling clients to request specific resources or perform actions on the server, such as data retrieval, creation, modification, and deletion.
If you haven’t installed requests
yet, you can do so by executing the following command:
pip install requests
The documentation for requests
is available at the following link: https://requests.readthedocs.io/en/latest/.
You can find all the data and code files for this chapter in the book’s GitHub repository, accessible here: https://github.com/PacktPublishing/Data-Science-for-Web3/tree/main/Chapter02.
We recommend that you read through the code files in the Chapter02
folder to follow along with the chapter.
A note...