TrackHandler
You can directly use instance of this class.
trackHandler
Methods for retrieving information about one or more tracks from the Spotify catalog.
Method Summary
Public Methods | ||
public |
Convert a valid object to a Track entity |
|
public |
Get a single/collection of track/s identified by its unique/list of Spotify ID. |
|
public |
Get a collection of tracks that match a keyword string. |
Public Methods
public convert(item: Object): Object source
Convert a valid object to a Track 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 track/s identified by its unique/list of Spotify ID.