This is a simple python script to describe how to get data from the Unpaywall API to detect if a particular publication (identified by its DOI) is available as Open Access or not. And if so, retrieve the URL where the Open Access PDF is available.
pip install -r requirements.txt
python main.py