AlbumHandler
You can directly use instance of this class.
albumHandler
Methods for retrieving information about one or more albums from the Spotify catalog.
Method Summary
Public Methods | ||
public |
Convert a valid object to a Album entity |
|
public |
Get a single/collection of album/s identified by its unique/list of Spotify ID. |
|
public |
newReleases(query: Object): Promise Get a list of new album releases featured in Spotify. |
|
public |
Get a collection of albums that match a keyword string. |
Public Methods
public convert(item: Object): Object source
Convert a valid object to a Album entity
Params:
Name | Type | Attribute | Description |
item | Object | Object to convert in entity |
public get(ids: String | Array, query: Object): Promise source
Get a single/collection of album/s identified by its unique/list of Spotify ID.
public newReleases(query: Object): Promise source
Get a list of new album releases featured in Spotify.
Params:
Name | Type | Attribute | Description |
query | Object |
|
Query parameters. |