Class ShowsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCheck User's Saved ShowsgetMultipleShows(String ids) Get Several ShowsGet ShowGet Show EpisodesGet User's Saved ShowsremoveShowsUser(List<String> ids) Remove User's Saved ShowssaveShowsUser(List<String> ids) Save Shows for Current User
-
Constructor Details
-
ShowsApi
public ShowsApi()
-
-
Method Details
-
checkUsersSavedShows
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
CheckUsersSavedShowsRequestobject to build and execute the request
-
getMultipleShows
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
GetMultipleShowsRequestobject to build and execute the request
-
getShow
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
GetShowRequestobject to build and execute the request
-
getShowsEpisodes
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
GetShowsEpisodesRequestobject to build and execute the request
-
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
GetUsersSavedShowsRequestobject to build and execute the request
-
removeShowsUser
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 theidsparameter is present in the query string, any IDs listed here in the body will be ignored.- Returns:
- a
RemoveShowsUserRequestobject to build and execute the request
-
saveShowsUser
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 theidsparameter is present in the query string, any IDs listed here in the body will be ignored.- Returns:
- a
SaveShowsUserRequestobject to build and execute the request
-