mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 08:35:49 +03:00
[GH-ISSUE #166] Should get_playlist be adapted to download the full playlist if not stated otherwise? #82
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#82
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?
Originally created by @JohannesAck on GitHub (Feb 23, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/166
As it is right now, get_playlist only sends one request which is limited 100 tracks of the playlist.
I think it might be nice to have it request all parts and concatenate them on its own.
If you agree I'd like to send a pull-request with (currently not in a github repo) code, that adapts the method to do just that.
@stephanebruckert commented on GitHub (Jan 17, 2020):
No, this is how API usually work, it's up to the developer to decide how the retrieval of the playlist is handled. You can use
offsetandlimitto iterate over all items, or usenext: