Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the list of fonts currently served by the Google Fonts Developer API
See: Google Fonts Developer API Reference for webfonts.webfonts.list
.
Synopsis
- type WebfontsListResource = "webfonts" :> ("v1" :> ("webfonts" :> (QueryParam "sort" WebfontsListSort :> (QueryParam "alt" AltJSON :> Get '[JSON] WebfontList))))
- webfontsList :: WebfontsList
- data WebfontsList
- wlSort :: Lens' WebfontsList (Maybe WebfontsListSort)
REST Resource
type WebfontsListResource = "webfonts" :> ("v1" :> ("webfonts" :> (QueryParam "sort" WebfontsListSort :> (QueryParam "alt" AltJSON :> Get '[JSON] WebfontList)))) Source #
A resource alias for webfonts.webfonts.list
method which the
WebfontsList
request conforms to.
Creating a Request
webfontsList :: WebfontsList Source #
Creates a value of WebfontsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data WebfontsList Source #
Retrieves the list of fonts currently served by the Google Fonts Developer API
See: webfontsList
smart constructor.
Instances
Request Lenses
wlSort :: Lens' WebfontsList (Maybe WebfontsListSort) Source #
Enables sorting of the list