[PR #1228] Fix: Web API Changes of February 2026 #1224

Open
opened 2026-02-28 00:04:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/1228
Author: @tonarec
Created: 2/18/2026
Status: 🔄 Open

Base: masterHead: 1227-web-api-changes


📝 Commits (3)

📊 Changes

2 files changed (+126 additions, -47 deletions)

View changed files

📝 CHANGELOG.md (+5 -0)
📝 spotipy/client.py (+121 -47)

📄 Description

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:

  • Updated /tracks endpoints to /items
  • Switching IDs to URIs to use the /me/library endpoint here
  • Fixed playlist limit to 50 according to the API for /playlists/{playlist_id}/items here
  • Added warnings for deprecated methods

🔄 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/1228 **Author:** [@tonarec](https://github.com/tonarec) **Created:** 2/18/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `1227-web-api-changes` --- ### 📝 Commits (3) - [`10294e1`](https://github.com/spotipy-dev/spotipy/commit/10294e18bca3bc4d13ab84707769a7bcca94a616) #1227 - Updated methods related to API changes - [`eb7830f`](https://github.com/spotipy-dev/spotipy/commit/eb7830f303dac373df92be5dcfa14d2d604db6c3) #1227 - Formatted code and updated changelog - [`664edfa`](https://github.com/spotipy-dev/spotipy/commit/664edfa8fd1ba66af87756ed7a4604353cc19c94) #1227 - Improved HTTP URLs computation with kwargs ### 📊 Changes **2 files changed** (+126 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+5 -0) 📝 `spotipy/client.py` (+121 -47) </details> ### 📄 Description Closes #1227 This PR fix the Spotiy client to comply with the new changes in the API from Spotify, see the [Web API Changelog](https://developer.spotify.com/documentation/web-api/references/changes/february-2026) 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: - Updated `/tracks` endpoints to `/items` - Switching IDs to URIs to use the `/me/library` endpoint [here](https://developer.spotify.com/documentation/web-api/reference/save-library-items) - Fixed playlist limit to 50 according to the API for `/playlists/{playlist_id}/items` [here](https://developer.spotify.com/documentation/web-api/reference/get-playlists-items) - Added warnings for deprecated methods --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1224
No description provided.