[GH-ISSUE #2] Add offset and limit options for more endpoints #2

Closed
opened 2026-02-27 19:25:34 +03:00 by kerem · 2 comments
Owner

Originally created by @jwilsson on GitHub (Jun 29, 2014).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/2

Some endpoints (although not really documented) seems to support offset and limit parameters. We should probably add support for these.

Originally created by @jwilsson on GitHub (Jun 29, 2014). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/2 Some endpoints (although not really documented) seems to support offset and limit parameters. We should probably add support for these.
kerem 2026-02-27 19:25:34 +03:00
Author
Owner

@jwilsson commented on GitHub (Jun 29, 2014):

The endpoints seems to be:

  • /v1/albums/{id}/tracks (i.e.SpotifyWebAPI::getAlbumTracks())
  • /v1/artists/{id}/albums (i.e.SpotifyWebAPI::getArtistAlbums())
  • /v1/users/{user_id}/playlists (i.e.SpotifyWebAPI::getUserPlaylists())
  • /v1/users/{user_id}/playlists/{playlist_id}/tracks (i.e.SpotifyWebAPI::getUserPlaylistTracks())
<!-- gh-comment-id:47451089 --> @jwilsson commented on GitHub (Jun 29, 2014): The endpoints seems to be: - /v1/albums/{id}/tracks (i.e.`SpotifyWebAPI::getAlbumTracks()`) - /v1/artists/{id}/albums (i.e.`SpotifyWebAPI::getArtistAlbums()`) - /v1/users/{user_id}/playlists (i.e.`SpotifyWebAPI::getUserPlaylists()`) - /v1/users/{user_id}/playlists/{playlist_id}/tracks (i.e.`SpotifyWebAPI::getUserPlaylistTracks()`)
Author
Owner

@jwilsson commented on GitHub (Jul 24, 2014):

The playlist ones doesn't seem to support offset and limit at this point. The other two are fixed in 21c98ec57f and 8b0c4170be.

<!-- gh-comment-id:49998872 --> @jwilsson commented on GitHub (Jul 24, 2014): The playlist ones doesn't seem to support offset and limit at this point. The other two are fixed in 21c98ec57f1714192d40b3f0736b3974cf1432f5 and 8b0c4170be46dcb6db25f942f264fa6fc77ac7fe.
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/spotify-web-api-php#2
No description provided.