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.Get

Contents

Description

Gets volume information for a single volume.

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

Synopsis

REST Resource

type VolumesGetResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> (QueryParam "country" Text :> (QueryParam "partner" Text :> (QueryParam "source" Text :> (QueryParam "projection" VolumesGetProjection :> (QueryParam "user_library_consistent_read" Bool :> (QueryParam "alt" AltJSON :> Get `[JSON]` Volume))))))))) Source

A resource alias for books.volumes.get method which the VolumesGet request conforms to.

Creating a Request

volumesGet Source

Arguments

:: Text

vgVolumeId

-> VolumesGet 

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

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

data VolumesGet Source

Gets volume information for a single volume.

See: volumesGet smart constructor.

Request Lenses

vgCountry :: Lens' VolumesGet (Maybe Text) Source

ISO-3166-1 code to override the IP-based location.

vgPartner :: Lens' VolumesGet (Maybe Text) Source

Brand results for partner ID.

vgVolumeId :: Lens' VolumesGet Text Source

ID of volume to retrieve.

vgSource :: Lens' VolumesGet (Maybe Text) Source

String to identify the originator of this request.

vgProjection :: Lens' VolumesGet (Maybe VolumesGetProjection) Source

Restrict information returned to a set of selected fields.