forked from duck1123/clj-gravatar
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# clj-gravatar | ||
|
||
gravatar api wrapper for clojure | ||
http://ja.gravatar.com/ | ||
|
||
## Usage | ||
|
||
### gravatar image | ||
|
||
(gravatar-image "your@mail.address") | ||
|
||
#### option | ||
* size | ||
* avatar image size | ||
* default | ||
* default image url | ||
* secure? | ||
* https flag. default is false | ||
|
||
#### option example | ||
|
||
(gravatar-image "your@mail.address" :size 24 :default "http://hoge.com/fuga.png" :secure? true) | ||
|
||
### gravatar profile | ||
|
||
(gravatar-profile "your@mail.address") | ||
|
||
#### option | ||
* secure? | ||
* https flag. default is false | ||
|
||
#### option example | ||
|
||
(gravatar-profile "your@mail.address" :secure? true) | ||
|
||
## License | ||
|
||
Copyright (C) 2011 Masashi Iizuka | ||
|
||
Distributed under the Eclipse Public License, the same as Clojure. |