gogol-fonts-0.0.1: Google Fonts Developer SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Fonts.Types

Contents

Description

 

Synopsis

Service Configuration

fontsService :: Service Source

Default request referring to version v1 of the Google Fonts Developer API. This contains the host and root path used as a starting point for constructing service requests.

Webfont

webfont :: Webfont Source

Creates a value of Webfont with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wVariants :: Lens' Webfont [Text] Source

The available variants for the font.

wKind :: Lens' Webfont Text Source

This kind represents a webfont object in the webfonts service.

wCategory :: Lens' Webfont (Maybe Text) Source

The category of the font.

wFamily :: Lens' Webfont (Maybe Text) Source

The name of the font.

wVersion :: Lens' Webfont (Maybe Text) Source

The font version.

wFiles :: Lens' Webfont (Maybe WebfontFiles) Source

The font files (with all supported scripts) for each one of the available variants, as a key : value map.

wSubSets :: Lens' Webfont [Text] Source

The scripts supported by the font.

wLastModified :: Lens' Webfont (Maybe Day) Source

The date (format "yyyy-MM-dd") the font was modified for the last time.

WebfontList

webfontList :: WebfontList Source

Creates a value of WebfontList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wlKind :: Lens' WebfontList Text Source

This kind represents a list of webfont objects in the webfonts service.

wlItems :: Lens' WebfontList [Webfont] Source

The list of fonts currently served by the Google Fonts API.

WebfontsListSort

WebfontFiles

data WebfontFiles Source

The font files (with all supported scripts) for each one of the available variants, as a key : value map.

See: webfontFiles smart constructor.

webfontFiles Source

Creates a value of WebfontFiles with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wfAddtional :: Lens' WebfontFiles (HashMap Text Text) Source

The font file URL (value) for an specific variant (key).