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 |
Network.Google.Resource.Books.Volumes.List
Description
Performs a book search.
See: Books API Reference for books.volumes.list
.
- type VolumesListResource = "books" :> ("v1" :> ("volumes" :> (QueryParam "q" Text :> (QueryParam "orderBy" VolumesListOrderBy :> (QueryParam "maxAllowedMaturityRating" VolumesListMaxAllowedMaturityRating :> (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)))))))))))))))))
- volumesList :: Text -> VolumesList
- data VolumesList
- vlOrderBy :: Lens' VolumesList (Maybe VolumesListOrderBy)
- vlMaxAllowedMaturityRating :: Lens' VolumesList (Maybe VolumesListMaxAllowedMaturityRating)
- vlLibraryRestrict :: Lens' VolumesList (Maybe VolumesListLibraryRestrict)
- vlPartner :: Lens' VolumesList (Maybe Text)
- vlQ :: Lens' VolumesList Text
- vlDownload :: Lens' VolumesList (Maybe VolumesListDownload)
- vlSource :: Lens' VolumesList (Maybe Text)
- vlProjection :: Lens' VolumesList (Maybe VolumesListProjection)
- vlFilter :: Lens' VolumesList (Maybe VolumesListFilter)
- vlLangRestrict :: Lens' VolumesList (Maybe Text)
- vlStartIndex :: Lens' VolumesList (Maybe Word32)
- vlMaxResults :: Lens' VolumesList (Maybe Word32)
- vlShowPreOrders :: Lens' VolumesList (Maybe Bool)
- vlPrintType :: Lens' VolumesList (Maybe VolumesListPrintType)
REST Resource
type VolumesListResource = "books" :> ("v1" :> ("volumes" :> (QueryParam "q" Text :> (QueryParam "orderBy" VolumesListOrderBy :> (QueryParam "maxAllowedMaturityRating" VolumesListMaxAllowedMaturityRating :> (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))))))))))))))))) #
A resource alias for books.volumes.list
method which the
VolumesList
request conforms to.
Creating a Request
Arguments
:: Text | |
-> 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:
data VolumesList #
Performs a book search.
See: volumesList
smart constructor.
Instances
Eq VolumesList # | |
Data VolumesList # | |
Show VolumesList # | |
Generic VolumesList # | |
GoogleRequest VolumesList # | |
type Rep VolumesList # | |
type Scopes VolumesList # | |
type Rs VolumesList # | |
Request Lenses
vlOrderBy :: Lens' VolumesList (Maybe VolumesListOrderBy) #
Sort search results.
vlMaxAllowedMaturityRating :: Lens' VolumesList (Maybe VolumesListMaxAllowedMaturityRating) #
The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.
vlLibraryRestrict :: Lens' VolumesList (Maybe VolumesListLibraryRestrict) #
Restrict search to this user's library.
vlQ :: Lens' VolumesList Text #
Full-text search query string.
vlDownload :: Lens' VolumesList (Maybe VolumesListDownload) #
Restrict to volumes by download availability.
vlProjection :: Lens' VolumesList (Maybe VolumesListProjection) #
Restrict information returned to a set of selected fields.
vlFilter :: Lens' VolumesList (Maybe VolumesListFilter) #
Filter search results.
vlLangRestrict :: Lens' VolumesList (Maybe Text) #
Restrict results to books with this language code.
vlStartIndex :: Lens' VolumesList (Maybe Word32) #
Index of the first result to return (starts at 0)
vlMaxResults :: Lens' VolumesList (Maybe Word32) #
Maximum number of results to return.
vlShowPreOrders :: Lens' VolumesList (Maybe Bool) #
Set to true to show books available for preorder. Defaults to false.
vlPrintType :: Lens' VolumesList (Maybe VolumesListPrintType) #
Restrict to books or magazines.