Clojure wrapper for the Google Slides API (v1).
Provides idiomatic Clojure functions for creating, reading, and updating Google Slides presentations through the batchUpdate pattern.
Auth: use csl/scoped-delegated-credentials or csl/user-credentials with the appropriate scope:
All presentation mutations go through batch-update, which takes a vector of request maps (kebab-case keys, coerced to camelCase internally). Convenience builders (create-slide-request, insert-text-request, etc.) return plain Clojure maps for use with batch-update.
Enum-typed fields in request data maps should be passed as uppercase strings (e.g. "BLANK", "TITLE", "TITLE_AND_BODY" for predefined-layout).
All functions return {:data ...} on success or {:error ...} on failure.
Clojure wrapper for the Google Slides API (v1).
Provides idiomatic Clojure functions for creating, reading, and updating
Google Slides presentations through the batchUpdate pattern.
Auth: use csl/scoped-delegated-credentials or csl/user-credentials with
the appropriate scope:
- SlidesScopes/PRESENTATIONS (full read/write)
- SlidesScopes/PRESENTATIONS_READONLY (read-only)
- SlidesScopes/DRIVE / DRIVE_FILE / DRIVE_READONLY (Slides files are Drive files)
- SlidesScopes/SPREADSHEETS / SPREADSHEETS_READONLY (only required for
embedded Sheets charts via CreateSheetsChartRequest / RefreshSheetsChartRequest)
All presentation mutations go through batch-update, which takes a vector of
request maps (kebab-case keys, coerced to camelCase internally). Convenience
builders (create-slide-request, insert-text-request, etc.) return plain
Clojure maps for use with batch-update.
Enum-typed fields in request data maps should be passed as uppercase strings
(e.g. "BLANK", "TITLE", "TITLE_AND_BODY" for predefined-layout).
All functions return {:data ...} on success or {:error ...} on failure.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 |