Liking cljdoc? Tell your friends :D

rocksky.library

Ergonomic wrappers for the authenticated app.rocksky.library.* API (uploaded music). Build a client once with client and pass it to every call — the access token is bound in the client, not repeated:

(def lib (library/client token)) (library/get-genres lib) (library/get-song lib song-id)

Optional params are keyword args merged into the request (camelCase keyword keys become the wire keys). Returns the parsed JSON payload.

Ergonomic wrappers for the authenticated app.rocksky.library.* API (uploaded
music). Build a client once with `client` and pass it to every call — the
access token is bound in the client, not repeated:

  (def lib (library/client token))
  (library/get-genres lib)
  (library/get-song lib song-id)

Optional params are keyword args merged into the request (camelCase keyword
keys become the wire keys). Returns the parsed JSON payload.
raw docstring

clientclj

(client token)
(client token base)

Bind a (required, non-empty) access token; base overrides the AppView URL.

Bind a (required, non-empty) access token; base overrides the AppView URL.
sourceraw docstring

create-playlistclj

(create-playlist client name)
source

delete-albumclj

(delete-album client id)
source

delete-playlistclj

(delete-playlist client id)
source

delete-songclj

(delete-song client id)
source

get-albumclj

(get-album client id)
source

get-album-infoclj

(get-album-info client id)
source

get-album-listclj

(get-album-list client type & {:as opts})
source

get-artistclj

(get-artist client id)
source

get-artist-infoclj

(get-artist-info client id)
source

get-artistsclj

(get-artists client)
source

get-cover-art-urlclj

(get-cover-art-url client id & {:as opts})
source

get-download-urlclj

(get-download-url client id)
source

get-genresclj

(get-genres client)
source

get-indexesclj

(get-indexes client)
source

get-internet-radio-stationsclj

(get-internet-radio-stations client)
source

get-licenseclj

(get-license client)
source

get-lyricsclj

(get-lyrics client & {:as opts})
source

get-music-directoryclj

(get-music-directory client id)
source

get-music-foldersclj

(get-music-folders client)
source

get-now-playingclj

(get-now-playing client)
source

get-play-queueclj

(get-play-queue client)
source

get-playlistclj

(get-playlist client id)
source

get-playlistsclj

(get-playlists client)
source

get-random-songsclj

(get-random-songs client & {:as opts})
source

get-scan-statusclj

(get-scan-status client)
source

get-similar-songsclj

(get-similar-songs client id & {:as opts})
source

get-songclj

(get-song client id)
source

get-songs-by-genreclj

(get-songs-by-genre client genre & {:as opts})
source

get-starredclj

(get-starred client)
source

get-stream-urlclj

(get-stream-url client id & {:as opts})
source

get-top-songsclj

(get-top-songs client artist & {:as opts})
source

get-userclj

(get-user client)
source

pingclj

(ping client)
source

save-play-queueclj

(save-play-queue client & {:as opts})
source

scrobbleclj

(scrobble client id & {:as opts})
source

(search client query & {:as opts})
source

starclj

(star client id & {:as opts})
source

start-scanclj

(start-scan client)
source

unstarclj

(unstar client id & {:as opts})
source

update-now-playingclj

(update-now-playing client id)
source

update-playlistclj

(update-playlist client playlist-id & {:as opts})
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close