Artists
#
GetArtistGet Spotify catalog information for a single artist identified by their unique Spotify ID.
Parameters
Name | Description | Example |
---|---|---|
id | The Spotify ID for the artist. | "1KpCi9BOfviCVhmpI4G2sY" |
Returns a FullArtist
Usage
#
GetRelatedArtistsGet Spotify catalog information about artists similar to a given artist. Similarity is based on analysis of the Spotify community's listening history.
Parameters
Name | Description | Example |
---|---|---|
id | The Spotify ID for the artist. | "1KpCi9BOfviCVhmpI4G2sY" |
Returns a SeveralArtists
object which contains the property List<FullArtist> Artists
(FullArtist)
Usage
#
GetArtistsTopTracksGet Spotify catalog information about an artist's top tracks by country.
Parameters
Name | Description | Example |
---|---|---|
id | The Spotify ID for the artist. | "1KpCi9BOfviCVhmpI4G2sY" |
country | The country: an ISO 3166-1 alpha-2 country code. | "DE" |
Returns a SeveralTracks
object which contains the property List<FullTrack> Tracks
(FullTrack)
Usage
#
GetArtistsAlbumsGet Spotify catalog information about an artist's albums. Optional parameters can be specified in the query string to filter and sort the response.
Parameters
Name | Description | Example |
---|---|---|
id | The Spotify ID for the artist. | "1KpCi9BOfviCVhmpI4G2sY" |
[type] | A list of keywords that will be used to filter the response. If not supplied, all album types will be returned | AlbumType.All |
[limit] | The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. | 20 |
[offset] | The index of the first album to return. Default: 0 | 0 |
[market] | An ISO 3166-1 alpha-2 country code. Supply this parameter to limit the response to one particular geographical market | "DE" |
Returns a SimpleAlbum wrapped inside a Paging-object
Usage
#
GetSeveralArtistsGet Spotify catalog information for several artists based on their Spotify IDs.
Parameters
Name | Description | Example |
---|---|---|
ids | A list of the Spotify IDs for the artists. Maximum: 50 IDs. | new List<String>() { "1KpCi9BOfviCVhmpI4G2sY" } |
Returns a SeveralArtists
object which contains the property List<FullArtist> Artists
(FullArtist)
Usage