gravatar-0.3: Find the url of the gravatar associated with an email address.ContentsIndex
Network.Gravatar
Portability
Stabilityprovisional
MaintainerDon Stewart <dons@galois.com>
Description
Synopsis
gravatar :: String -> String
gravatarWith :: String -> Maybe Rating -> Maybe Size -> Maybe String -> String
data Rating
= G
| PG
| R
| X
data Size
size :: Int -> Maybe Size
Documentation
gravatar :: String -> String
Return the url of a gravatar for an email address (a globally recognized avatar).
gravatarWith :: String -> Maybe Rating -> Maybe Size -> Maybe String -> String
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
Classification ratings for gravatars
Constructors
G
PG
R
X
show/hide Instances
data Size
An image size in pixels from 1 to 80.
show/hide Instances
size :: Int -> Maybe Size
A smart constructor for the Size type, ensuring it is between 1 and 80
Produced by Haddock version 2.1.0