new Similar(entry, idopt)
Similar entry.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
entry |
string | The artist to search for. |
|
id |
string |
<optional> |
The Spotify ID, if known. |
- Source:
Members
artistLimit
Number of artists to fetch.
- Source:
artists
Array of related artists.
- Source:
entry
Entry string.
- Source:
id
Spotify ID.
- Source:
spotify
Spotify request handler.
- Source:
trackLimit
Number of tracks to fetch per artist.
- Source:
Methods
createQueue() → {Promise|Queue}
Create a queue of tracks.
- Source:
Returns:
A queue of tracks.
- Type
- Promise | Queue
dispatch() → {Promise|Queue}
Dispatch entry.
- Source:
Returns:
A queue of tracks.
- Type
- Promise | Queue
searchForArtist() → {Promise}
Search for artist.
- Source:
Returns:
A Promise to perform the action.
- Type
- Promise
searchForRelatedArtists() → {Promise}
Search for related artists.
- Source:
Returns:
A Promise to perform the action.
- Type
- Promise