gravatar-0.5.4: Look up gravatar image urls by email address

Portabilityunportable
Stabilityunstable
Maintainerpbrisbin@gmail.com
Safe HaskellNone

Network.Gravatar

Contents

Description

Synopsis

Documentation

gravatar :: GravatarOptions -> Text -> StringSource

Return the avatar for the given email using the provided options

Options

newtype Size Source

Size in pixels

Constructors

Size Int 

data DefaultImg Source

Image to show when an avatar is not available

Constructors

Custom String

supply your own url

NotFound

do not load an image return a 404

MM

mystery man

Identicon

geometric pattern based on the hash

MonsterId

a generated monster

Wavatar

generated faces

Retro

generated, 8-bit arcade style pixelated face

newtype ForceDefault Source

Always show the default image

Constructors

ForceDefault Bool 

data Rating Source

Limit the returned images by rating

Constructors

G 
PG 
R 
X 

class Default a where

A class for types with a default value.

Methods

def :: a

The default value for this type.

defaultConfig :: GravatarOptionsSource

Available for backwards compatability, using def is advised