Liking cljdoc? Tell your friends :D

rocksky.album

Endpoints under app.rocksky.album.*

Endpoints under app.rocksky.album.*
raw docstring

rocksky.apikey

Endpoints under app.rocksky.apikey.*

Endpoints under app.rocksky.apikey.*
raw docstring

rocksky.charts

Endpoints under app.rocksky.charts.*

Endpoints under app.rocksky.charts.*
raw docstring

rocksky.client

Core HTTP client for the Rocksky XRPC API.

A client is just a map. You build one with client, optionally thread with-token / with-base-url / with-headers to extend it, and pass it as the first argument to every endpoint function in rocksky.actor, rocksky.album, etc.

Two low-level helpers — query and procedure — back every endpoint fn. They translate XRPC's GET/POST split into clj-http calls and return the parsed JSON body. On non-2xx responses they throw ex-info with :status, :body, and :nsid in the ex-data.

Core HTTP client for the Rocksky XRPC API.

A client is just a map. You build one with `client`, optionally thread
`with-token` / `with-base-url` / `with-headers` to extend it, and pass
it as the first argument to every endpoint function in
`rocksky.actor`, `rocksky.album`, etc.

Two low-level helpers — `query` and `procedure` — back every endpoint
fn. They translate XRPC's GET/POST split into `clj-http` calls and
return the parsed JSON body. On non-2xx responses they throw
`ex-info` with `:status`, `:body`, and `:nsid` in the ex-data.
raw docstring

rocksky.core

Convenience facade — pulls the most common bits to a single namespace.

(require '[rocksky.core :as rs])

(def c (rs/client {:token "..."}))
(rs/get-profile c {:did "alice.rocksky.app"})

For everything else, require the per-resource namespaces directly (rocksky.actor, rocksky.album, rocksky.scrobble, ...).

Convenience facade — pulls the most common bits to a single namespace.

```
(require '[rocksky.core :as rs])

(def c (rs/client {:token "..."}))
(rs/get-profile c {:did "alice.rocksky.app"})
```

For everything else, require the per-resource namespaces directly
(`rocksky.actor`, `rocksky.album`, `rocksky.scrobble`, ...).
raw docstring

rocksky.dropbox

Endpoints under app.rocksky.dropbox.*

Endpoints under app.rocksky.dropbox.*
raw docstring

rocksky.googledrive

Endpoints under app.rocksky.googledrive.*

Endpoints under app.rocksky.googledrive.*
raw docstring

rocksky.graph

Endpoints under app.rocksky.graph.*

Endpoints under app.rocksky.graph.*
raw docstring

rocksky.like

Endpoints under app.rocksky.like.*

Endpoints under app.rocksky.like.*
raw docstring

rocksky.mirror

Endpoints under app.rocksky.mirror.*

Endpoints under app.rocksky.mirror.*
raw docstring

rocksky.player

Endpoints under app.rocksky.player.* — controls Rocksky's web player.

Endpoints under app.rocksky.player.* — controls Rocksky's web player.
raw docstring

rocksky.scrobble

Endpoints under app.rocksky.scrobble.*

Endpoints under app.rocksky.scrobble.*
raw docstring

rocksky.song

Endpoints under app.rocksky.song.*

Endpoints under app.rocksky.song.*
raw docstring

rocksky.spotify

Endpoints under app.rocksky.spotify.* — Spotify-backed remote control.

Endpoints under app.rocksky.spotify.* — Spotify-backed remote control.
raw docstring

rocksky.stats

Endpoints under app.rocksky.stats.*

Endpoints under app.rocksky.stats.*
raw docstring

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