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

user.getRecentTracks

Returns the most recent tracks listened by the user.

Usage

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

Parameters

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