[PR #54] [MERGED] Support for getting tracks from albums with more than 50 tracks #742

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

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/54
Author: @jsundram
Created: 6/4/2015
Status: Merged
Merged: 6/4/2015
Merged by: @plamere

Base: masterHead: master


📝 Commits (2)

  • bbed19f Support for offset/limit with album/album_tracks API
  • 283c35f offset/limit only makes sense for album_tracks

📊 Changes

5 files changed (+60 additions, -43 deletions)

View changed files

📝 CHANGES.txt (+7 -6)
📝 README.md (+2 -1)
📝 setup.py (+1 -1)
📝 spotipy/client.py (+37 -35)
📝 tests/tests.py (+13 -0)

📄 Description

Albums with greater than 50 tracks (e.g. spotify:album:1vAbqAeuJVWNAe7UR00bdM) don't have all their tracks returned from the album_tracks API. I added offset/limit params to the api client to support these albums, as well as test to ensure that the client and underlying API works.

Apologies for some unrelated whitespace changes; my editor automatically strips whitespace from the ends of lines.


🔄 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/54 **Author:** [@jsundram](https://github.com/jsundram) **Created:** 6/4/2015 **Status:** ✅ Merged **Merged:** 6/4/2015 **Merged by:** [@plamere](https://github.com/plamere) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`bbed19f`](https://github.com/spotipy-dev/spotipy/commit/bbed19fdaa0a918c084dd9a58fa7ad4e6cece133) Support for offset/limit with album/album_tracks API - [`283c35f`](https://github.com/spotipy-dev/spotipy/commit/283c35f59243cafe743fc21da10abc6a4268e12b) offset/limit only makes sense for album_tracks ### 📊 Changes **5 files changed** (+60 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `CHANGES.txt` (+7 -6) 📝 `README.md` (+2 -1) 📝 `setup.py` (+1 -1) 📝 `spotipy/client.py` (+37 -35) 📝 `tests/tests.py` (+13 -0) </details> ### 📄 Description Albums with greater than 50 tracks (e.g. spotify:album:1vAbqAeuJVWNAe7UR00bdM) don't have all their tracks returned from the `album_tracks` API. I added offset/limit params to the api client to support these albums, as well as test to ensure that the client and underlying API works. Apologies for some unrelated whitespace changes; my editor automatically strips whitespace from the ends of lines. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:01:27 +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#742
No description provided.