An async Python client for the Spotify Web API, supporting authentication, caching, and all major endpoints. Current version 1.1.1, requires Python 3.8–3.12. Released sporadically.
pip install spotipyioNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize a SpotifyClient with credentials and perform a search.
Upgrade to 1.1.1 and wrap all client calls with `await`.
Ensure your redirect_uri matches exactly what is set in the Spotify Developer Dashboard (e.g., http://localhost:8080/callback).
Replace `cache_path='/path/to/cache'` with `token_cache=FileCache('/path/to/cache')`.Upgrade to spotipyio>=1.0.0 with `pip install --upgrade spotipyio`.
Set SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET environment variables with valid Spotify app credentials.