[PR #531] [MERGED] Update Playlist Endpoints and Add Following Endpoints #927

Closed
opened 2026-02-28 00:02:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/531
Author: @IdmFoundInHim
Created: 7/6/2020
Status: Merged
Merged: 7/11/2020
Merged by: @stephanebruckert

Base: masterHead: playlist-functions


📝 Commits (9)

  • f0fc8a2 Update playlist endpoints to modern format
  • 4e3910b Add current_user_following_artists and current_user_following_users
  • f1b6e81 Update tests and examples
  • c6bb32c Update changelog
  • af1ab78 Deprecate playlist_tracks in favor of playlist_items
  • ef62d13 Link deprecated functions to new functions and change tracks to items
  • de47418 Fix references to playlist_tracks
  • 7c18827 Change test_playlist_add_items as requested
  • cc12294 Merge branch 'master' into playlist-functions

📊 Changes

10 files changed (+356 additions, -112 deletions)

View changed files

📝 CHANGELOG.md (+20 -1)
📝 examples/add_tracks_to_playlist.py (+1 -2)
📝 examples/change_playlist_details.py (+1 -2)
📝 examples/playlist_all_non_local_tracks.py (+7 -7)
📝 examples/playlist_tracks.py (+4 -3)
📝 examples/remove_specific_tracks_from_playlist.py (+2 -4)
📝 examples/remove_tracks_from_playlist.py (+2 -4)
📝 examples/replace_tracks_in_playlist.py (+1 -3)
📝 spotipy/client.py (+283 -46)
📝 tests/integration/test_user_endpoints.py (+35 -40)

📄 Description

Add current_user_following_artists and current_user_following_users

Deprecate user_playlist_* in favor of the following replacements:

  • user_playlist_change_details -> playlist_change_details
  • user_playlist_unfollow -> current_user_unfollow_playlist
  • user_playlist_add_tracks -> playlist_add_tracks
  • user_playlist_replace_tracks -> playlist_replace_tracks
  • user_playlist_reorder_tracks -> playlist_reorder_tracks
  • user_playlist_remove_all_occurrences_of_tracks -> playlist_remove_all_occurrences_of_tracks
  • user_playlist_remove_specific_occurrences_of_tracks -> playlist_remove_specific_occurrences_of_tracks
  • user_playlist_follow_playlist -> current_user_follow_playlist
  • user_playlist_is_following -> playlist_is_following

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/531 **Author:** [@IdmFoundInHim](https://github.com/IdmFoundInHim) **Created:** 7/6/2020 **Status:** ✅ Merged **Merged:** 7/11/2020 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `playlist-functions` --- ### 📝 Commits (9) - [`f0fc8a2`](https://github.com/spotipy-dev/spotipy/commit/f0fc8a2351a8e22cd1da37407f3ca24218538b76) Update playlist endpoints to modern format - [`4e3910b`](https://github.com/spotipy-dev/spotipy/commit/4e3910bd35dd21d17a4c88f38fd4c0f7dc9ab572) Add current_user_following_artists and current_user_following_users - [`f1b6e81`](https://github.com/spotipy-dev/spotipy/commit/f1b6e8109e1f7657f90cd48cda2a949019503b45) Update tests and examples - [`c6bb32c`](https://github.com/spotipy-dev/spotipy/commit/c6bb32cc8b156f942d2ad9c389b18956b86bdf1a) Update changelog - [`af1ab78`](https://github.com/spotipy-dev/spotipy/commit/af1ab788ee8278255068eaf69e49ae72b6c4fa59) Deprecate playlist_tracks in favor of playlist_items - [`ef62d13`](https://github.com/spotipy-dev/spotipy/commit/ef62d13d5acdc35c0f88b18ce6c2fa61f6e697b4) Link deprecated functions to new functions and change tracks to items - [`de47418`](https://github.com/spotipy-dev/spotipy/commit/de4741893fed6701eb44b4c6ded9bdd34217a201) Fix references to playlist_tracks - [`7c18827`](https://github.com/spotipy-dev/spotipy/commit/7c1882768ffb746cc2dd105474b142f80ceeb359) Change test_playlist_add_items as requested - [`cc12294`](https://github.com/spotipy-dev/spotipy/commit/cc12294fb6fda07dbd47d908fe71e9c65cfd6030) Merge branch 'master' into playlist-functions ### 📊 Changes **10 files changed** (+356 additions, -112 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+20 -1) 📝 `examples/add_tracks_to_playlist.py` (+1 -2) 📝 `examples/change_playlist_details.py` (+1 -2) 📝 `examples/playlist_all_non_local_tracks.py` (+7 -7) 📝 `examples/playlist_tracks.py` (+4 -3) 📝 `examples/remove_specific_tracks_from_playlist.py` (+2 -4) 📝 `examples/remove_tracks_from_playlist.py` (+2 -4) 📝 `examples/replace_tracks_in_playlist.py` (+1 -3) 📝 `spotipy/client.py` (+283 -46) 📝 `tests/integration/test_user_endpoints.py` (+35 -40) </details> ### 📄 Description Add current_user_following_artists and current_user_following_users Deprecate user_playlist_* in favor of the following replacements: * user_playlist_change_details -> playlist_change_details * user_playlist_unfollow -> current_user_unfollow_playlist * user_playlist_add_tracks -> playlist_add_tracks * user_playlist_replace_tracks -> playlist_replace_tracks * user_playlist_reorder_tracks -> playlist_reorder_tracks * user_playlist_remove_all_occurrences_of_tracks -> playlist_remove_all_occurrences_of_tracks * user_playlist_remove_specific_occurrences_of_tracks -> playlist_remove_specific_occurrences_of_tracks * user_playlist_follow_playlist -> current_user_follow_playlist * user_playlist_is_following -> playlist_is_following --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:02:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#927
No description provided.