https://badges.gitter.im/nprstuff-tanimislam/Lobby.svg

Nprstuff - Utility Functionality for NPR Programs and Other Things

I like NPR, so I made some scripts to download my favorite programs from NPR. For now, I have something that downloads NPR Fresh Air, Wait Wait…Don’t Tell Me, and This American Life. This package can probably, straightforwardly be extended to other NPR and PRI programs (although I haven’t yet done so).

Although this project started off as a way to download these three programs, I have expanded it to include a grab bag of altogether different types of functionalities. What remains the same? This distribution consists mainly of executable Python scripts. Detailed documentation lives in the Sphinx repository.

NPR changed their API, which means that old functionality does not work. NPR has discontinued the older NPR API, that powers much of this repository’s functionality. I quote,

This API is no longer publicly available for client integrations; for documentation of current API services, please visit the NPR Developer Center.

Furthermore, the newer NPR One API does not appear to have the necessary functionality to make my magic happen. The rest of the functionality lives in the

The comprehensive documentation lives in HTML created with Sphinx, and now in the NPRStuff Github Page for this project. To generate the documentation, go to the docsrc subdirectory. In that directory, run make html. Load docsrc/build/html/index.html into a browser to see the documentation.

Installation Instructions

Installing this Python module is easy.

  • If you want to get it from Github, then run this command,

    python3 -m pip install --user git+https://github.com/tanimislam/nprstuff#egginfo=nprstuff
    
  • If you want to have more control, follow these several steps.

    git clone https://github.com/tanimislam/nprstuff
    cd nprstuff
    python3 -m pip install --user -e .
    

Both installation workflows install nprstuff into your user Python folder (~/.local by default on Linux and Mac OS X systems). Its executables are installed into ~/.local/bin by default on Linux or Mac OS X systems.

Table of Contents

TODO

Here are some things I would like to finish.

  • Get the non-NPR-API functionality working as robustly as the old, working, discontinued NPR API stuff. ☑