Class AlbumsApi

    • Constructor Detail

      • AlbumsApi

        public AlbumsApi()
    • 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 GetAlbumRequest object 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 GetAlbumsTracksRequest object 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 GetMultipleAlbumsRequest object to build and execute the request