ScienceScraper Overview#

Let’s scrape some science!

Importing the package#

First, we need to import the package.

In a Jupyter notebook or Python shell, run the following:

import sciencescraper as ss

This imports the entire package, with both ScienceDirect and PMC functions available. If you only want to use one of the two, you can import only that one:

from sciencescraper import sciencedirect as sd
from sciencescraper import pmc as pmc

First, we will be looking at importing the entire package and its available functions.

Functions#

ScienceDirect Functions#

When importing the entire package, the following functions are available for interacting with ScienceDirect:

When importing only one of subpackages, the functions are exactly the same, but the names are shortened for convenience to:

PMC Functions#

The following functions are available for interacting with PMC:

Just like with the ScienceDirect subpackage, when importing only the PMC subpackage, the functions are shortened for convenience to:

Now, let’s take a look at how to use these functions!