Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ornicar/clojure-kit
Clojure kit for prismic.io
https://github.com/ornicar/clojure-kit
Last synced: 9 days ago
JSON representation
Clojure kit for prismic.io
- Host: GitHub
- URL: https://github.com/ornicar/clojure-kit
- Owner: ornicar
- License: mit
- Created: 2014-03-22T11:01:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-05T12:27:41.000Z (over 10 years ago)
- Last Synced: 2023-03-10T21:17:57.073Z (over 1 year ago)
- Language: Clojure
- Homepage: http://prismic.io
- Size: 359 KB
- Stars: 4
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Clojure development kit for prismic.io
## Installation
`prismic` is available as a Maven artifact from [Clojars](http://clojars.org/prismic):
```clojure
[prismic "1.0-M3"]
```### Try it from REPL
```
git clone https://github.com/ornicar/clojure-kit
cd clojure-kit
lein repluser=> (require '[io.prismic.api :refer :all])
user=> (def prismic (get-api "https://lesbonneschoses.prismic.io/api"))
user=> (def stores (get-by-bookmark prismic :stores))
user=> (:slugs stores)
["dont-be-a-stranger"]user=> (require '[io.prismic.render :as render])
user=> (render/image (get-fragment stores :image))
""
```### Continuously run tests while developing
```
lein test-refresh
```