jwilsson/spotify-web-api-php

Add offset and limit options for more endpoints

jwilsson opened this issue · 2 comments

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

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())

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