Package de.sonallux.spotify.api.apis
Class AlbumsApi
- java.lang.Object
-
- de.sonallux.spotify.api.apis.AlbumsApi
-
public class AlbumsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description AlbumsApi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAlbumRequestgetAlbum(String id)Get an AlbumGetAlbumsTracksRequestgetAlbumsTracks(String id)Get an Album's TracksGetMultipleAlbumsRequestgetMultipleAlbums(String ids)Get Multiple Albums
-
-
-
Method Detail
-
getAlbum
public GetAlbumRequest getAlbum(String id)
Get an Album
Get Spotify catalog information for a single album.
- Parameters:
id-The Spotify ID of the album.
- Returns:
- a
GetAlbumRequestobject to build and execute the request
-
getAlbumsTracks
public GetAlbumsTracksRequest getAlbumsTracks(String id)
Get an Album's Tracks
Get Spotify catalog information about an album's tracks. Optional parameters can be used to limit the number of tracks returned.
- Parameters:
id-The Spotify ID of the album.
- Returns:
- a
GetAlbumsTracksRequestobject to build and execute the request
-
getMultipleAlbums
public GetMultipleAlbumsRequest getMultipleAlbums(String ids)
Get Multiple Albums
Get Spotify catalog information for multiple albums identified by their Spotify IDs.
- Parameters:
ids-A comma-separated list of the Spotify IDs for the albums. Maximum: 20 IDs.
- Returns:
- a
GetMultipleAlbumsRequestobject to build and execute the request
-
-