Class ArtistsApi

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

public class ArtistsApi extends Object
Artists
  • Constructor Details

    • ArtistsApi

      public ArtistsApi()
  • Method Details

    • getArtist

      public GetArtistRequest getArtist(String id)

      Get Artist

      Get Spotify catalog information for a single artist identified by their unique Spotify ID.

      Parameters:
      id -

      The Spotify ID of the artist.

      Returns:
      a GetArtistRequest object to build and execute the request
    • getArtistsAlbums

      public GetArtistsAlbumsRequest getArtistsAlbums(String id)

      Get Artist's Albums

      Get Spotify catalog information about an artist's albums.

      Parameters:
      id -

      The Spotify ID of the artist.

      Returns:
      a GetArtistsAlbumsRequest object to build and execute the request
    • getArtistsRelatedArtists

      public GetArtistsRelatedArtistsRequest getArtistsRelatedArtists(String id)

      Get Artist's Related Artists

      Get Spotify catalog information about artists similar to a given artist. Similarity is based on analysis of the Spotify community's listening history.

      Parameters:
      id -

      The Spotify ID of the artist.

      Returns:
      a GetArtistsRelatedArtistsRequest object to build and execute the request
    • getArtistsTopTracks

      public GetArtistsTopTracksRequest getArtistsTopTracks(String id)

      Get Artist's Top Tracks

      Get Spotify catalog information about an artist's top tracks by country.

      Parameters:
      id -

      The Spotify ID of the artist.

      Returns:
      a GetArtistsTopTracksRequest object to build and execute the request
    • getMultipleArtists

      public GetMultipleArtistsRequest getMultipleArtists(String ids)

      Get Several Artists

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

      Parameters:
      ids -

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

      Returns:
      a GetMultipleArtistsRequest object to build and execute the request