gogol-books-0.0.1: Google Books 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.Resource.Books.Volumes.List

Contents

Description

Performs a book search.

See: Books API Reference for books.volumes.list.

Synopsis

REST Resource

type VolumesListResource = "books" :> ("v1" :> ("volumes" :> (QueryParam "q" Text :> (QueryParam "orderBy" VolumesListOrderBy :> (QueryParam "libraryRestrict" VolumesListLibraryRestrict :> (QueryParam "partner" Text :> (QueryParam "download" VolumesListDownload :> (QueryParam "source" Text :> (QueryParam "projection" VolumesListProjection :> (QueryParam "filter" VolumesListFilter :> (QueryParam "langRestrict" Text :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "showPreorders" Bool :> (QueryParam "printType" VolumesListPrintType :> (QueryParam "alt" AltJSON :> Get `[JSON]` Volumes)))))))))))))))) Source

A resource alias for books.volumes.list method which the VolumesList request conforms to.

Creating a Request

volumesList Source

Arguments

:: Text

vlQ

-> VolumesList 

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

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

Request Lenses

vlLibraryRestrict :: Lens' VolumesList (Maybe VolumesListLibraryRestrict) Source

Restrict search to this user's library.

vlPartner :: Lens' VolumesList (Maybe Text) Source

Restrict and brand results for partner ID.

vlQ :: Lens' VolumesList Text Source

Full-text search query string.

vlDownload :: Lens' VolumesList (Maybe VolumesListDownload) Source

Restrict to volumes by download availability.

vlSource :: Lens' VolumesList (Maybe Text) Source

String to identify the originator of this request.

vlProjection :: Lens' VolumesList (Maybe VolumesListProjection) Source

Restrict information returned to a set of selected fields.

vlLangRestrict :: Lens' VolumesList (Maybe Text) Source

Restrict results to books with this language code.

vlStartIndex :: Lens' VolumesList (Maybe Word32) Source

Index of the first result to return (starts at 0)

vlMaxResults :: Lens' VolumesList (Maybe Word32) Source

Maximum number of results to return.

vlShowPreOrders :: Lens' VolumesList (Maybe Bool) Source

Set to true to show books available for preorder. Defaults to false.

vlPrintType :: Lens' VolumesList (Maybe VolumesListPrintType) Source

Restrict to books or magazines.