What is a 'requests' package?

We'll cover the following

The requests package is a more Pythonic replacement for Python’s own urllib. You will find that requests package’s API is quite a bit simpler to work with. You can install the requests library by using pip or easy_install or from source.

Using requests

Let’s take a look at a few examples of how to use the requests package. We will use a series of small code snippets to help explain how to use this library.

Get hands-on with 1200+ tech skills courses.