Skip to content

brackendev/GravatarDemo-Clojure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Clojure implementation to interact with the Gravatar API. Useful example for new users

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published