A CLI tool that retrieves a URL to a random album from a user's Spotify saved albums. Version 0.0.8 requires Python >=3.7, uses the Spotify Web API, and is released on PyPI. Development is sporadic.
pip install spotify-random-saved-albumNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Import the function and call it after setting Spotify API credentials as environment variables.
Set these environment variables before calling any function.
Ensure SPOTIPY_REDIRECT_URI is registered in the Spotify Developer Dashboard for your app.