Fix: Web API Changes of February 2026#1228
Merged
dieser-niko merged 4 commits intospotipy-dev:pr/1228from Mar 3, 2026
Merged
Conversation
- Updated /tracks endpoints to /items - Switching IDs to URIs for /me/library endpoint - Fixed playlist limit to 50 (according to API) - Added warnings for deprecated methods
Contributor
Author
|
We should harden all the URLs computation by using #before
self._get("me/library?uris=" + ",".join(ulist))
#after
self._get("me/library", uris=",".join(ulist)) |
tonarec
commented
Feb 19, 2026
Contributor
|
this should be merged and released asap |
Contributor
Author
|
@dieser-niko you are marked as reviewer. This is an important bugfix as many projects depends on spotipy. |
dieser-niko
approved these changes
Mar 3, 2026
Member
dieser-niko
left a comment
There was a problem hiding this comment.
lgtm.
Sorry it took so long, but I've been busy. However, I still wanted to mark myself as a reviewer as a sort of reminder.
Member
|
I'm going to merge this into a separate branch because I want to run tests as well |
brunodoamaral
added a commit
to brunodoamaral/spotify-mcp
that referenced
this pull request
Mar 6, 2026
Address deprecated endpoints on Spotfy API. See spotipy-dev/spotipy#1228
This was referenced Mar 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1227
This PR fix the Spotiy client to comply with the new changes in the API from Spotify, see the Web API Changelog
It introduces a change in the way the tracks/episodes (the so named items) are handled by Spotify.
In addition, some of the endpoints are now deprecated, and most of the enpoints related to the user's content moved to the /me/library endpoint to use URIs only.
Introduced in this PR:
/tracksendpoints to/items/me/libraryendpoint here/playlists/{playlist_id}/itemshere