provider Player GET
/me/player/recently-played @utdk/spotify
/me/player/recently-played Get Recently Played Tracks
Get tracks from the current user's recently played tracks.
_**Note**: Currently doesn't support podcast episodes._
- limit query
- integer
- after query
- integer
- before query
- integer
Try it
Authentication
Configure credentials for Spotify Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import spotify from '@utdk/spotify';
await spotify.getRecentlyPlayed({
"limit": 20
})