mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Merge branch 'master' of github.com:spotipy-dev/spotipy into v3
This commit is contained in:
commit
6083be8b1f
@ -57,6 +57,7 @@ Rebasing master onto v3 doesn't require a changelog update.
|
||||
|
||||
- Added examples for audiobooks, shows and episodes methods to examples directory
|
||||
- Use newer string formatters ([https://pyformat.info](https://pyformat.info))
|
||||
- Marked `recommendation_genre_seeds` as deprecated
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@ -1435,6 +1435,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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user