mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[PR #96] [MERGED] Support endpoint for modifying playlist details #767
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#767
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/96
Author: @nathancoleman
Created: 6/1/2016
Status: ✅ Merged
Merged: 12/31/2016
Merged by: @plamere
Base:
master← Head:support_changing_playlist_details📝 Commits (9)
1fae780Support changing details for a user playlist80bcbb1Make a pass for cleanup and PEP8 compliance59a0565Add to the contributor list931abceMerge branch 'master' into support_changing_playlist_details7867c4fMerge branch 'master' into support_changing_playlist_details7c5bfbdMerge branch 'master' into support_changing_playlist_details5ecfad1Support optional collaborative kwargb8ae99aAdd example for user_playlist_change_details()655e1bfAdd type check for name kwarg📊 Changes
3 files changed (+158 additions, -81 deletions)
View changed files
📝
docs/index.rst(+1 -0)➕
examples/change_playlist_details.py(+38 -0)📝
spotipy/client.py(+119 -81)📄 Description
I added support for the API endpoint here which allows for the modification of playlist details such as the name and whether the playlist is marked as public and/or collaborative.
I also did some general cleanup. In a few cases, this included modifying args defaulted to mutable values (mostly
arg=[]) to avoid the pitfalls described here.Please review: @plamere
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.