Skip to content

user.getRecentTracks

Returns the most recent tracks listened by the user.

Usage

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

Parameters

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