SpotifyApiSpotify LogoJS

RecentlyPlayed player.d.ts#L171

The recently played object which is returned by the [Player.getRecentlyPlayed] function.

https://developer.spotify.com/documentation/web-api/reference/#/operations/get-recently-played

Properties:

NameTypeDescription
cursorsCursorThe cursors to check other pages of recently played.
hrefstringA link to the Web API endpoint providing full details of the track.
items{ playedAt: string, track: Track, }[]The items which have been recently played.
limitnumberThe maximum number of items in the response (as set in the query or by default).
nextstringURL to the next page of items. ( null if none)
OPTIONAL
totalnumberThe total number of items available to return.