Implement RecentlyPlayedView

This commit is contained in:
aditya-K2
2023-04-12 04:39:06 +05:30
parent 2e2149fba0
commit 0bdabaf1ea
4 changed files with 104 additions and 6 deletions

View File

@@ -212,3 +212,7 @@ func CurrentUserSavedTracks(done func(status bool, err error)) (*LikedSongs, err
return playlists, nil
}
}
func RecentlyPlayed() ([]spotify.RecentlyPlayedItem, error) {
return Client.PlayerRecentlyPlayed(ctx())
}