Generate Gravatar image URLs.
gravatar def "pbrisbin@gmail.com"
-- => https://www.gravatar.com/avatar/2be502055b6c21ff470730beead2a998
For more information, see the haddocks.
stack setup
stack build --pedantic --test
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:
- I have only one function and a required "options" argument which supports everything the Gravatar API offers.
- My
gravatar
operates on aText
value
The older package hadn't been updated since 2008 and I was unable to reach Don on the matter. Hopefully it's OK that I take over the module name.