From b401fc67edca0d8ecdd9349ec08f34efd192edc4 Mon Sep 17 00:00:00 2001 From: Fabian Wunsch Date: Wed, 11 Mar 2026 08:39:03 +0100 Subject: [PATCH] Reduce `artist_album` limit Reduces the limit so that a query called without explicit limit is valid with the new changes to the spotify API. --- spotipy/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotipy/client.py b/spotipy/client.py index 898384d..e7bd2b2 100644 --- a/spotipy/client.py +++ b/spotipy/client.py @@ -400,7 +400,7 @@ class Spotify: return self._get("artists/?ids=" + ",".join(tlist)) def artist_albums( - self, artist_id, album_type=None, include_groups=None, country=None, limit=20, offset=0 + self, artist_id, album_type=None, include_groups=None, country=None, limit=10, offset=0 ): """ Get Spotify catalog information about an artist's albums