Skip to main content
Version: v2.7.5

Search typedefs

searchQuery​

Parameter Type Description
sourceSearchPlatformThe source to search from.
querystringThe query to search for.

searchResult​

Parameter Type Description
loadTypeLoadTypeThe load type of the result.
tracksTrack[]The array of tracks from the result
playlistTrackSourceTypesThe playlist info if the load type is 'playlist'.

playlistData​

Parameter Type Description
namestringThe playlist name.
requesterUser | ClientUserRequester of playlist.
playlistInfoPlaylistInfoData{}More playlist information.
durationnumberThe length of the playlist.
tracksTrack[]The songs of the playlist.

playlistInfoData​

Parameter Type Description
urlstringUrl to playlist.
typestringType is always playlist in that case.
artworkUrlstringArtworkUrl of playlist
totalTracksnumberNumber of total tracks in playlist
authorstringAuthor of playlist