Class EpisodesApi

java.lang.Object
de.sonallux.spotify.api.apis.EpisodesApi

public class EpisodesApi extends Object
Episodes
  • Constructor Details

    • EpisodesApi

      public EpisodesApi()
  • Method Details

    • checkUsersSavedEpisodes

      public CheckUsersSavedEpisodesRequest checkUsersSavedEpisodes(String ids)

      Check User's Saved Episodes

      Check if one or more episodes is already saved in the current Spotify user's 'Your Episodes' library.
      This API endpoint is in beta and could change without warning. Please share any feedback that you have, or issues that you discover, in our developer community forum..

      Parameters:
      ids -

      A comma-separated list of the Spotify IDs for the episodes. Maximum: 50 IDs.

      Returns:
      a CheckUsersSavedEpisodesRequest object to build and execute the request
    • getEpisode

      public GetEpisodeRequest getEpisode(String id)

      Get Episode

      Get Spotify catalog information for a single episode identified by its unique Spotify ID.

      Parameters:
      id -

      The Spotify ID for the episode.

      Returns:
      a GetEpisodeRequest object to build and execute the request
    • getMultipleEpisodes

      public GetMultipleEpisodesRequest getMultipleEpisodes(String ids)

      Get Several Episodes

      Get Spotify catalog information for several episodes based on their Spotify IDs.

      Parameters:
      ids -

      A comma-separated list of the Spotify IDs for the episodes. Maximum: 50 IDs.

      Returns:
      a GetMultipleEpisodesRequest object to build and execute the request
    • getUsersSavedEpisodes

      public GetUsersSavedEpisodesRequest getUsersSavedEpisodes()

      Get User's Saved Episodes

      Get a list of the episodes saved in the current Spotify user's library.
      This API endpoint is in beta and could change without warning. Please share any feedback that you have, or issues that you discover, in our developer community forum.

      Returns:
      a GetUsersSavedEpisodesRequest object to build and execute the request
    • removeEpisodesUser

      public RemoveEpisodesUserRequest removeEpisodesUser(List<String> ids)

      Remove User's Saved Episodes

      Remove one or more episodes from the current user's library.
      This API endpoint is in beta and could change without warning. Please share any feedback that you have, or issues that you discover, in our developer community forum.

      Parameters:
      ids -

      A JSON array of the Spotify IDs.
      A maximum of 50 items can be specified in one request. Note: if the ids parameter is present in the query string, any IDs listed here in the body will be ignored.

      Returns:
      a RemoveEpisodesUserRequest object to build and execute the request
    • saveEpisodesUser

      public SaveEpisodesUserRequest saveEpisodesUser(List<String> ids)

      Save Episodes for Current User

      Save one or more episodes to the current user's library.
      This API endpoint is in beta and could change without warning. Please share any feedback that you have, or issues that you discover, in our developer community forum.

      Parameters:
      ids -

      A JSON array of the Spotify IDs.
      A maximum of 50 items can be specified in one request. Note: if the ids parameter is present in the query string, any IDs listed here in the body will be ignored.

      Returns:
      a SaveEpisodesUserRequest object to build and execute the request