Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Compute gravatar urls for email addresses
Haskell
Tree: 134c3cdeaf

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Network
LICENSE
README.md
Setup.hs
gravatar.cabal

README.md

Gravatar

import Network.Gravatar

Lookup gravatar image urls based on an email address.

url :: String
url = gravatar def "pbrisbin@gmail.com"
-- ==> https://secure.gravatar.com/avatar/2be502055b6c21ff470730beead2a998

This is a clean-room implementation of this existing package (I had no idea it existed when I wrote this).

There's only a few small differences:

  1. I have only one function and a required "options" argument which supports everything the Gravatar API offers.

  2. My gravatar operates on a Text value

I've tried to reach out to Don about taking over maintainership, but so far I've not gotten any reply.

Something went wrong with that request. Please try again.