gravatar-0.2: Find the url of the gravatar associated with an email address.

Portability
Stabilityprovisional
MaintainerDon Stewart <dons@galois.com>

Network.Gravatar

Description

 

Synopsis

Documentation

gravatar :: String -> StringSource

Return the url of a gravatar for an email address (a globally recognized avatar).

gravatarWith :: String -> Maybe Rating -> Maybe Size -> Maybe String -> StringSource

Construct the url of a gravatar with optional classification ratings, an optional size, and optional default image.

data Rating Source

Classification ratings for gravatars

Constructors

G 
PG 
R 
X 

data Size Source

An image size in pixels from 1 to 80.

size :: Int -> Maybe SizeSource

A smart constructor for the Size type, ensuring it is between 1 and 80