mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
ID support for current_user_unfollow_playlist() (#1143)
* ID support for `current_user_unfollow_playlist()` * turned double quotes into single quotes * Clarified changelog entry
This commit is contained in:
parent
66ad716595
commit
1e05bdba67
@ -20,6 +20,7 @@ Add your changes below.
|
|||||||
### Fixed
|
### Fixed
|
||||||
- Audiobook integration tests
|
- Audiobook integration tests
|
||||||
- Edited docstrings for certain functions in client.py for functions that are no longer in use and have been replaced.
|
- Edited docstrings for certain functions in client.py for functions that are no longer in use and have been replaced.
|
||||||
|
- `current_user_unfollow_playlist()` now supports playlist IDs, URLs, and URIs rather than previously where it only supported playlist IDs.
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- `mock` no longer listed as a test dependency. Only built-in `unittest.mock` is actually used.
|
- `mock` no longer listed as a test dependency. Only built-in `unittest.mock` is actually used.
|
||||||
|
|||||||
@ -1096,10 +1096,10 @@ class Spotify:
|
|||||||
user
|
user
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
- name - the name of the playlist
|
- playlist_id - the id of the playlist
|
||||||
"""
|
"""
|
||||||
return self._delete(
|
return self._delete(
|
||||||
f"playlists/{playlist_id}/followers"
|
f"playlists/{self._get_id('playlist', playlist_id)}/followers"
|
||||||
)
|
)
|
||||||
|
|
||||||
def playlist_add_items(
|
def playlist_add_items(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user