Endpoints under app.rocksky.actor.*
Endpoints under app.rocksky.actor.*
Endpoints under app.rocksky.album.*
Endpoints under app.rocksky.album.*
Endpoints under app.rocksky.apikey.*
Endpoints under app.rocksky.apikey.*
Endpoints under app.rocksky.artist.*
Endpoints under app.rocksky.artist.*
Endpoints under app.rocksky.charts.*
Endpoints under app.rocksky.charts.*
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.
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`, ...).Endpoints under app.rocksky.dropbox.*
Endpoints under app.rocksky.dropbox.*
Endpoints under app.rocksky.feed.*
Endpoints under app.rocksky.feed.*
Endpoints under app.rocksky.googledrive.*
Endpoints under app.rocksky.googledrive.*
Endpoints under app.rocksky.graph.*
Endpoints under app.rocksky.graph.*
Endpoints under app.rocksky.like.*
Endpoints under app.rocksky.like.*
Endpoints under app.rocksky.mirror.*
Endpoints under app.rocksky.mirror.*
Endpoints under app.rocksky.player.* — controls Rocksky's web player.
Endpoints under app.rocksky.player.* — controls Rocksky's web player.
Endpoints under app.rocksky.playlist.*
Endpoints under app.rocksky.playlist.*
Endpoints under app.rocksky.scrobble.*
Endpoints under app.rocksky.scrobble.*
Endpoints under app.rocksky.shout.*
Endpoints under app.rocksky.shout.*
Endpoints under app.rocksky.song.*
Endpoints under app.rocksky.song.*
Endpoints under app.rocksky.spotify.* — Spotify-backed remote control.
Endpoints under app.rocksky.spotify.* — Spotify-backed remote control.
Endpoints under app.rocksky.stats.*
Endpoints under app.rocksky.stats.*
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |