Class CreatePlaylistForUserRequest

All Implemented Interfaces:
IRequest<Playlist>

@Deprecated public class CreatePlaylistForUserRequest extends AbstractDataRequest<Playlist>
Deprecated.
This endpoint is deprecated. Use CreatePlaylistRequest with the current user's ID instead.
Create a playlist for a Spotify user. (The playlist will be empty until you add tracks.)
  • Method Details

    • execute

      public Playlist execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
      Deprecated.
      Create a new playlist for a user.
      Returns:
      The newly created Playlist.
      Throws:
      IOException - In case of networking issues.
      SpotifyWebApiException - The Web API returned an error further specified in this exception's root cause.
      org.apache.hc.core5.http.ParseException - If a parsing error occurs.