Class ShowsApi

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

public class ShowsApi extends Object
Shows
  • Constructor Details

    • ShowsApi

      public ShowsApi()
  • Method Details

    • checkUsersSavedShows

      public CheckUsersSavedShowsRequest checkUsersSavedShows(String ids)

      Check User's Saved Shows

      Check if one or more shows is already saved in the current Spotify user's library.

      Parameters:
      ids -

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

      Returns:
      a CheckUsersSavedShowsRequest object to build and execute the request
    • getMultipleShows

      public GetMultipleShowsRequest getMultipleShows(String ids)

      Get Several Shows

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

      Parameters:
      ids -

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

      Returns:
      a GetMultipleShowsRequest object to build and execute the request
    • getShow

      public GetShowRequest getShow(String id)

      Get Show

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

      Parameters:
      id -

      The Spotify IDfor the show.

      Returns:
      a GetShowRequest object to build and execute the request
    • getShowsEpisodes

      public GetShowsEpisodesRequest getShowsEpisodes(String id)

      Get Show Episodes

      Get Spotify catalog information about an show’s episodes. Optional parameters can be used to limit the number of episodes returned.

      Parameters:
      id -

      The Spotify IDfor the show.

      Returns:
      a GetShowsEpisodesRequest object to build and execute the request
    • getUsersSavedShows

      public GetUsersSavedShowsRequest getUsersSavedShows()

      Get User's Saved Shows

      Get a list of shows saved in the current Spotify user's library. Optional parameters can be used to limit the number of shows returned.

      Returns:
      a GetUsersSavedShowsRequest object to build and execute the request
    • removeShowsUser

      public RemoveShowsUserRequest removeShowsUser(List<String> ids)

      Remove User's Saved Shows

      Delete one or more shows from current Spotify user's library.

      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 RemoveShowsUserRequest object to build and execute the request
    • saveShowsUser

      public SaveShowsUserRequest saveShowsUser(List<String> ids)

      Save Shows for Current User

      Save one or more shows to current Spotify user's library.

      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 SaveShowsUserRequest object to build and execute the request