mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-27 07:55:49 +03:00
[GH-ISSUE #50] Automatically support limit/next searches #30
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#30
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 @andig on GitHub (Jul 17, 2016).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/50
Current api implementation ignores limit/next return values. Large result sets should be automatically handled by the library.
@andig commented on GitHub (Jul 17, 2016):
Actually, this may be more of a question: I have not found any way to even retrieve paged results without reimplementing the internal logic. Even calling e.g.
getUserPlaylistwith options for offset/limit it doesn't work as spotify wants to append a/tracksto the uri.@jwilsson commented on GitHub (Jul 18, 2016):
Hi,
We aim to keep this library as simple as possible and leaving these sort of things up to the user.
I'm not sure if
getUserPlaylistwas just an example or not, but there's alsogetUserPlaylistTrackswhich handles limit/offset. But if you happen to find a method that should support limit/offset but doesn't have it documented, PRs are always appreciated!@andig commented on GitHub (Jul 18, 2016):
I wasn't even aware of
getUserPlaylistTracks, thank you!