Liking cljdoc? Tell your friends :D

clj-qobuz.playlist


add-playlist-tracksclj

(add-playlist-tracks playlist-id track-ids & [options])

Add tracks to a user playlist

Add tracks to a user playlist
sourceraw docstring

createclj

(create name & [options])

Create playlist. options can contain :query-params with the following keys:

  • :description
  • :is_public (1 == public)
  • :is_collaborative (1 == collaborative)
  • :track_ids
  • :album_id (initial album to add to the playlist).
Create playlist.
`options` can contain `:query-params` with the following keys:
* :description
* :is_public (1 == public)
* :is_collaborative (1 == collaborative)
* :track_ids
* :album_id (initial album to add to the playlist).
sourceraw docstring

delete-playlistclj

(delete-playlist playlist-id & [options])

Delete a user playlist

Delete a user playlist
sourceraw docstring

delete-playlist-tracksclj

(delete-playlist-tracks playlist-id playlist-track-ids & [options])

Remove tracks from a playlist - note that playlist_track_ids are not the track_ids, they are ids that come from the playlist items and are shown in the playlist_track_id field. The playlist_track_id will identify a specific instance of a track within a playlist (even when the same track_id is repeated).

Remove tracks from a playlist - note that playlist_track_ids are not
the track_ids, they are ids that come from the playlist items and
are shown in the playlist_track_id field. The playlist_track_id will
identify a specific instance of a track within a playlist (even when
the same track_id is repeated).
sourceraw docstring

(featured-playlists listtype & [options])

Get featured playlists. listtype must be one of editor-picks or last-created options can contain :query-params with the following keys:

  • :genre_ids list of genre ids
Get featured playlists.
`listtype` must be one of `editor-picks` or `last-created`
`options` can contain `:query-params` with the following keys:
* :genre_ids list of genre ids
sourceraw docstring

getclj

(get playlist-id & [options])
source

update-playlistclj

(update-playlist playlist-id & [options])

Update a user playlist options can contain :query-params with the following keys:

  • :name
  • :description
  • :is_public (1 == public)
  • :is_collaborative (1 == collaborative)
  • :track_ids (tracks to replace the current tracks with)
Update a user playlist
`options` can contain `:query-params` with the following keys:
* :name
* :description
* :is_public (1 == public)
* :is_collaborative (1 == collaborative)
* :track_ids (tracks to replace the current tracks with)
sourceraw docstring

user-playlistsclj

(user-playlists & [options])

Get playlists for user. options can contain :query-params with the following keys:

  • :username
  • :user_id
  • :order
Get playlists for user.
`options` can contain `:query-params` with the following keys:
 * :username
 * :user_id
 * :order
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close