Playlist
API for interacting with the playlist API endpoint.
Example
Tweak example to fit your tech stack and use case.
getPlaylist
Gets a specific playlist.
Prop | Type | Default |
---|---|---|
token | string | - |
playlistId | number | - |
getPlaylistTracks
Gets the tracks of a specific playlist.
Prop | Type | Default |
---|---|---|
token | string | - |
playlistId | number | - |
getPlaylistReposters
Returns the reposters of a specific playlist.
Prop | Type | Default |
---|---|---|
token | string | - |
playlistId | number | - |
createPlaylist
Creates a playlist.
Prop | Type | Default |
---|---|---|
token | string | - |
playlistData | object | - |
playlistData.title | string | - |
playlistData.description | string | - |
playlistData.sharing | string | - |
playlistData.tracks | array | - |
deletePlaylist
Deletes a specific playlist.
Prop | Type | Default |
---|---|---|
token | string | - |
playlistId | number | - |
More Info
For more info on endpoints see the official Soundcloud API docs.