Skip to content
This repository has been archived by the owner on Sep 28, 2019. It is now read-only.

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfebert committed Feb 21, 2010
1 parent b6f4019 commit b30717b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# jgravatar

jgravatar is a tiny Java library for accessing avatar images from gravatar.com

## Usage example

Gravatar gravatar = new Gravatar();
gravatar.setSize(50);
gravatar.setRating(GravatarRating.GENERAL_AUDIENCES);
gravatar.setDefaultImage(GravatarDefaultImage.IDENTICON);
String url = gravatar.getUrl("iHaveAn@email.com");
byte[] jpg = gravatar.download("info@ralfebert.de");

0 comments on commit b30717b

Please sign in to comment.