Documentation Index
Fetch the complete documentation index at: https://docs.rocksky.app/llms.txt
Use this file to discover all available pages before exploring further.
app.rocksky/sdk is an idiomatic Clojure client.
- Plain maps in, plain maps out — no records, no protocols.
- Client-first arg — every endpoint threads through
->. - No global state — clients are values you can pass around and reuse.
- Two real verbs —
query(GET) andprocedure(POST) cover the whole XRPC surface; resource namespaces are thin wrappers on top.
Install
deps.edn:
Quickstart
Pipe-friendly composition
Calling URLs the SDK doesn’t wrap
Errors
Concurrency
Clients are immutable values — share them across threads:Available namespaces
| Namespace | Wraps |
|---|---|
rocksky.actor | app.rocksky.actor.* |
rocksky.album | app.rocksky.album.* |
rocksky.apikey | app.rocksky.apikey.* |
rocksky.artist | app.rocksky.artist.* |
rocksky.charts | app.rocksky.charts.* |
rocksky.dropbox | app.rocksky.dropbox.* |
rocksky.feed | app.rocksky.feed.* |
rocksky.googledrive | app.rocksky.googledrive.* |
rocksky.graph | app.rocksky.graph.* |
rocksky.like | app.rocksky.like.* |
rocksky.mirror | app.rocksky.mirror.* |
rocksky.player | app.rocksky.player.* |
rocksky.playlist | app.rocksky.playlist.* |
rocksky.scrobble | app.rocksky.scrobble.* |
rocksky.shout | app.rocksky.shout.* |
rocksky.song | app.rocksky.song.* |
rocksky.spotify | app.rocksky.spotify.* |
rocksky.stats | app.rocksky.stats.* |
Conventions
- Kebab-case Clojure, camelCase wire. The SDK translates
:start-date→startDate,:album-art→albumArt, etc. Raw HTTP bodies still use camelCase, matching the lexicons. - Nil values are dropped. Pass
:limit niland the param won’t appear on the wire — handy forcond->chains. - Booleans round-trip.
:enabled falseis preserved.
Types
Lexicon-derived schemas (in malli form) are exposed asrocksky.generated.types/schemas, a map keyed by :TypeName keywords covering every lex *View* / *Record / *Input / *Output / *Params shape from the Rocksky lexicons. Regenerate with bun run lexgen:types at the repo root.
License
MIT © Tsiry Sandratraina. Source:sdk/clojure.