def playlists(limit: 20, offset: 0)
      url = "users/#{@id}/playlists?limit=#{limit}&offset=#{offset}"
      response = RSpotify.resolve_auth_request(@id, url)
      return response if RSpotify.raw_response
      response['items'].map { |i| Playlist.new i }
    end
def playlists(limit: 20, offset: 0)
      url = "users/#{@id}/playlists?limit=#{limit}&offset=#{offset}"
      response = RSpotify.resolve_auth_request(@id, url)
      return response if RSpotify.raw_response
      response['items'].map { |i| Playlist.new i }
    end
Returns all playlists from user

 @param limit  [Integer] Maximum number of playlists to return. Maximum: 50. Minimum: 1. Default: 20.
 @param offset [Integer] The index of the first playlist to return. Use with limit to get the next set of playlists. Default: 0.
 @return [Array<Playlist>]

 @example
           playlists = user.playlists
           playlists.class       #=> Array
           playlists.first.class #=> RSpotify::Playlist
           playlists.first.name  #=> "Movie Soundtrack Masterpieces"