mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-27 07:55:49 +03:00
[GH-ISSUE #97] getUserPlaylistTracks - only 100 Tracks #52
Labels
No labels
bug
docs
enhancement
enhancement
enhancement
feedback wanted
good first issue
help wanted
help wanted
help wanted
invalid
pull-request
question
question
upstream
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-web-api-php#52
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 @pscheich on GitHub (Sep 5, 2017).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/97
Hey,
the function getUserPlaylistTracks returns only the first 100 Tracks from a playlist.
The default and max value for limit is 100.
Do I have to check if there is more by myself to get all tracks from a playlist?
Greetz
ps
@jwilsson commented on GitHub (Sep 5, 2017):
Hi!
Yeah, you can check the
nextfield on each response. If it isn'tnullthere are more results.For example:
Hope this helps!
@pscheich commented on GitHub (Sep 6, 2017):
Hey,
thanks for this fast reply, I will use your code.
Thank you.