Likes
API for liking and unliking tracks and playlists.
Example
Tweak example to fit your tech stack and use case.
likeTrack
Likes a track.
Params
Prop | Type | Default |
---|---|---|
token | string | - |
trackId | number | - |
unlikeTrack
Unlikes a track.
Prop | Type | Default |
---|---|---|
token | string | - |
trackId | number | - |
likePlaylist
Likes a playlist.
Prop | Type | Default |
---|---|---|
token | string | - |
playlistId | number | - |
unlikePlaylist
Unlikes a playlist.
Prop | Type | Default |
---|---|---|
token | string | - |
playlistId | number | - |
More Info
For more info on endpoints see the official Soundcloud API docs.