zmb3 / spotify

A Go wrapper for the Spotify Web API
Apache License 2.0
1.38k stars 292 forks source link

How to save tracks to current user (aka liked songs) #226

Closed tetafro closed 1 year ago

tetafro commented 1 year ago

I want to set "like" for a track (API docs for this). As I can see, it is not implemented right now. Is there any workaround?

subash774 commented 1 year ago

this is probably what you're looking for?

strideynet commented 1 year ago

@subash774 is correct

awsms commented 6 months ago

Sorry to hijack this old issue, but which function lets you see the actual library's content?

subash774 commented 6 months ago

Sorry to hijack this old issue, but which function lets you see the actual library's content?

@awsms don't think there's a function to list all but if you create an issue, someone can pick it up? (idm picking it up if @zmb3 / @strideynet is cool with adding that)

strideynet commented 6 months ago

No objection to someone raising an issue and patch to add methods for the Get User's Saved Albums / Tracks endpoints

subash774 commented 5 months ago

@awsms while I was preparing the PR to add getting list of tracks saved by the user, I realised, it's already been implemented here 😅