[GH-ISSUE #335] Add support for new API endpoints #194

Closed
opened 2026-02-27 23:21:19 +03:00 by kerem · 4 comments
Owner

Originally created by @ritiek on GitHub (Oct 24, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/335

I just noticed that Spotify web-api does not require a username parameter any more when fetching a playlist or playlist tracks.

On the master branch currently, these functions require a user parameter which isn't needed any more:


get-playlist
github.com/plamere/spotipy@4c2c1d763a/spotipy/client.py (L373)


get-playlist-tracks
github.com/plamere/spotipy@4c2c1d763a/spotipy/client.py (L385-L386)


Seems like Spotify also supports the old way of fetching playlist (with user parameter) but we should probably change the functions to not accept user parameter any more and change the API calls to appropriate endpoints.

Originally created by @ritiek on GitHub (Oct 24, 2018). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/335 I just noticed that Spotify web-api does not require a username parameter any more when fetching a playlist or playlist tracks. On the master branch currently, these functions require a `user` parameter which isn't needed any more: ---------- [get-playlist](https://developer.spotify.com/documentation/web-api/reference/playlists/get-playlist/) https://github.com/plamere/spotipy/blob/4c2c1d763a3653aa225c4af848409ec31286a6bf/spotipy/client.py#L373 ---------- [get-playlist-tracks](https://developer.spotify.com/documentation/web-api/reference/playlists/get-playlists-tracks/) https://github.com/plamere/spotipy/blob/4c2c1d763a3653aa225c4af848409ec31286a6bf/spotipy/client.py#L385-L386 ---------- Seems like Spotify also supports the old way of fetching playlist (with `user` parameter) but we should probably change the functions to not accept user parameter any more and change the API calls to appropriate endpoints.
kerem 2026-02-27 23:21:19 +03:00
Author
Owner

@ritiek commented on GitHub (Oct 29, 2018):

The full list of changes can be found here: https://developer.spotify.com/community/news/2018/06/12/changes-to-playlist-uris/.

<!-- gh-comment-id:433806620 --> @ritiek commented on GitHub (Oct 29, 2018): The full list of changes can be found here: https://developer.spotify.com/community/news/2018/06/12/changes-to-playlist-uris/.
Author
Owner

@hajilekwah commented on GitHub (Jan 1, 2019):

Looks like they rolled the changes back for the time being:
"Update: Due to technical issues, we have rolled back the change originally scheduled for 11th September 2018. We will communicate a new date for the change as soon as we have one."
The above quote is in italics at the top of the article that was shared.

<!-- gh-comment-id:450712120 --> @hajilekwah commented on GitHub (Jan 1, 2019): Looks like they rolled the changes back for the time being: "Update: Due to technical issues, we have rolled back the change originally scheduled for 11th September 2018. We will communicate a new date for the change as soon as we have one." The above quote is in italics at the top of the article that was shared.
Author
Owner

@sigma67 commented on GitHub (Jan 25, 2019):

More info here: https://developer.spotify.com/community/news/2019/01/15/update-changes-to-playlist-uris/

<!-- gh-comment-id:457572934 --> @sigma67 commented on GitHub (Jan 25, 2019): More info here: https://developer.spotify.com/community/news/2019/01/15/update-changes-to-playlist-uris/
Author
Owner

@kingosticks commented on GitHub (Feb 26, 2019):

Hey guys, I guess this change to playlist URIs will be happening (again) in a couple of days (28th February 2019). Spotify's original announcement did say they'd leave the old endpoints 'until further notice' but maybe it's worth assuming their usual incompetence and merge https://github.com/plamere/spotipy/pull/320 ?

<!-- gh-comment-id:467499990 --> @kingosticks commented on GitHub (Feb 26, 2019): Hey guys, I guess this change to playlist URIs will be happening (again) in a couple of days (28th February 2019). Spotify's original announcement did say they'd leave the old endpoints 'until further notice' but maybe it's worth assuming their usual incompetence and merge https://github.com/plamere/spotipy/pull/320 ?
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#194
No description provided.