diff --git a/CHANGELOG.md b/CHANGELOG.md index 06c819d..a022ff1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Add your changes below. ### Added - Added examples for audiobooks, shows and episodes methods to examples directory - Use newer string formatters (https://pyformat.info) +- Marked `recommendation_genre_seeds` as deprecated ### Fixed - Fixed scripts in examples directory that didn't run correctly diff --git a/spotipy/client.py b/spotipy/client.py index cdb2da2..c814757 100644 --- a/spotipy/client.py +++ b/spotipy/client.py @@ -1763,6 +1763,11 @@ class Spotify: return self._get("recommendations", **params) def recommendation_genre_seeds(self): + warnings.warn( + "You're using `recommendation_genre_seeds(...)`, " + "which is marked as deprecated by Spotify.", + DeprecationWarning, + ) """ Get a list of genres available for the recommendations function. """ return self._get("recommendations/available-genre-seeds")