Skip to content
Headphones with musical notes coming out of it.simple-fm
DiscordGitHubMastodonTwitter

user.getTopTracks

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

Usage

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

Parameters

ParamTypeRequiredDescription
usernamestringThe name of the user.
limitnumberThe number of results to fetch per page. Defaults to 50.
pagenumberThe page number to fetch. Defaults to the first page.