My Gravatar demo projects are for developers to get acquainted with languages and platforms with something more than a "Hello World" example. Versions are available for Clojure, F#, Newspeak, Pharo, Racket, and Squeak.
Clojure implementation to interact with the Gravatar API.
- Clojure 1.10.1 reference platform.
- Tests included.
- Support the latest Clojure release.
Execute in a shell (in the project directory):
lein run image email@example.com
lein run profile email@example.com
or
To use the REPL, execute in a shell (in the project directory):
lein repl
Then in the REPL, evaluate:
;; Retrieve the image for the email address
(image-for-email "email@example.com")
;; Retrieve the profile for the email address
(profile-for-email "email@example.com")
To run the tests, execute in a shell:
lein test
Bracken Spencer
GravatarDemo-Clojure is released under the MIT license. See the LICENSE file for more info.