Package de.sonallux.spotify.api.apis
Class ArtistsApi
java.lang.Object
de.sonallux.spotify.api.apis.ArtistsApi
Artists
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet ArtistGet Artist's AlbumsGet Artist's Related ArtistsGet Artist's Top TracksgetMultipleArtists(String ids) Get Several Artists
-
Constructor Details
-
ArtistsApi
public ArtistsApi()
-
-
Method Details
-
getArtist
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
GetArtistRequestobject to build and execute the request
-
getArtistsAlbums
Get Artist's Albums
Get Spotify catalog information about an artist's albums.
- Parameters:
id-The Spotify ID of the artist.
- Returns:
- a
GetArtistsAlbumsRequestobject to build and execute the request
-
getArtistsRelatedArtists
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
GetArtistsRelatedArtistsRequestobject to build and execute the request
-
getArtistsTopTracks
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
GetArtistsTopTracksRequestobject to build and execute the request
-
getMultipleArtists
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
GetMultipleArtistsRequestobject to build and execute the request
-