gravatar-0.3: 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 rating to limit to, an optional size in pixels, and optional default url to redirect to, should no image be found.

data Rating Source

Classification ratings for gravatars

Constructors

G 
PG 
R 
X 

data Size Source

An image size in pixels from 1 to 80.

Instances

size :: Int -> Maybe SizeSource

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