Skip to content

user.getTopTracks

Returns a list of popular tracks in a user’s library.

Usage

client.user.getTopTracks({ username, limit?, page? })

Parameters

ParamTypeRequiredDescription
usernamestring The name of the user.
limitnumber The number of results to fetch per page. Defaults to 50.
pagenumber The page number to fetch. Defaults to the first page.