ArtistHandler
Methods for retrieving information about one or more artists from the Spotify catalog.
Method Summary
Public Methods | ||
public |
Get Spotify catalog information about an artist’s albums. |
|
public |
Convert a valid object to a Artist entity |
|
public |
Add the current user as a follower of one or more artists. |
|
public |
Get a single/collection of artist/s identified by its unique/list of Spotify ID. |
|
public |
relatedArtists(id: String, query: Object): Promise Get Spotify catalog information about artists similar to a given artist. |
|
public |
Get a collection of artists that match a keyword string. |
|
public |
Get Spotify catalog information about an artist’s top tracks by country. |
|
public |
Remove the current user as a follower of one or more artists. |
Public Methods
public albums(id: String, query: Object): Promise source
Get Spotify catalog information about an artist’s albums.
public convert(item: Object): Object source
Convert a valid object to a Artist entity
Params:
Name | Type | Attribute | Description |
item | Object | Object to convert in entity |
public follow(artists: Array): Promise source
Add the current user as a follower of one or more artists.
Params:
Name | Type | Attribute | Description |
artists | Array | List of artists ids |
public get(ids: String | Array, query: Object): Promise source
Get a single/collection of artist/s identified by its unique/list of Spotify ID.
public relatedArtists(id: String, query: Object): Promise source
Get Spotify catalog information about artists similar to a given artist.
public search(name: String, query: Object): Promise source
Get a collection of artists that match a keyword string.