mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
Marked as deprecated
This commit is contained in:
parent
f5ebcc6fc6
commit
e37b1a8a55
@ -11,6 +11,7 @@ Add your changes below.
|
|||||||
### Added
|
### Added
|
||||||
- Added examples for audiobooks, shows and episodes methods to examples directory
|
- Added examples for audiobooks, shows and episodes methods to examples directory
|
||||||
- Use newer string formatters (https://pyformat.info)
|
- Use newer string formatters (https://pyformat.info)
|
||||||
|
- Marked `recommendation_genre_seeds` as deprecated
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fixed scripts in examples directory that didn't run correctly
|
- Fixed scripts in examples directory that didn't run correctly
|
||||||
|
|||||||
@ -1763,6 +1763,11 @@ class Spotify:
|
|||||||
return self._get("recommendations", **params)
|
return self._get("recommendations", **params)
|
||||||
|
|
||||||
def recommendation_genre_seeds(self):
|
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.
|
""" Get a list of genres available for the recommendations function.
|
||||||
"""
|
"""
|
||||||
return self._get("recommendations/available-genre-seeds")
|
return self._get("recommendations/available-genre-seeds")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user