Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 2.2 KB

README.md

File metadata and controls

80 lines (52 loc) · 2.2 KB

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.


GravatarDemo-Clojure

Clojure implementation to interact with the Gravatar API.

TODO

  • Support the latest Clojure release.

Installation

  1. Download this project.
  2. Install and setup Clojure and Leiningen.

Example Usage

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

Author

Bracken Spencer

License

GravatarDemo-Clojure is released under the MIT license. See the LICENSE file for more info.


Useful Links