gogol-books-0.2.0: Google Books SDK.

Copyright(c) 2015-2016 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.Recommended.List

Contents

Description

Return a list of recommended books for the current user.

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

Synopsis

REST Resource

type VolumesRecommendedListResource = "books" :> ("v1" :> ("volumes" :> ("recommended" :> (QueryParam "locale" Text :> (QueryParam "maxAllowedMaturityRating" VolumesRecommendedListMaxAllowedMaturityRating :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Volumes))))))) Source #

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

Creating a Request

volumesRecommendedList :: VolumesRecommendedList Source #

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

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

data VolumesRecommendedList Source #

Return a list of recommended books for the current user.

See: volumesRecommendedList smart constructor.

Instances

Eq VolumesRecommendedList Source # 
Data VolumesRecommendedList Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VolumesRecommendedList -> c VolumesRecommendedList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VolumesRecommendedList #

toConstr :: VolumesRecommendedList -> Constr #

dataTypeOf :: VolumesRecommendedList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VolumesRecommendedList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VolumesRecommendedList) #

gmapT :: (forall b. Data b => b -> b) -> VolumesRecommendedList -> VolumesRecommendedList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VolumesRecommendedList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VolumesRecommendedList -> r #

gmapQ :: (forall d. Data d => d -> u) -> VolumesRecommendedList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VolumesRecommendedList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VolumesRecommendedList -> m VolumesRecommendedList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VolumesRecommendedList -> m VolumesRecommendedList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VolumesRecommendedList -> m VolumesRecommendedList #

Show VolumesRecommendedList Source # 
Generic VolumesRecommendedList Source # 
GoogleRequest VolumesRecommendedList Source # 
type Rep VolumesRecommendedList Source # 
type Rep VolumesRecommendedList = D1 (MetaData "VolumesRecommendedList" "Network.Google.Resource.Books.Volumes.Recommended.List" "gogol-books-0.2.0-5Ye9jkpXNyYIQzuxFUGse4" False) (C1 (MetaCons "VolumesRecommendedList'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vrlLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_vrlMaxAllowedMaturityRating") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VolumesRecommendedListMaxAllowedMaturityRating))) (S1 (MetaSel (Just Symbol "_vrlSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes VolumesRecommendedList Source # 
type Scopes VolumesRecommendedList = (:) Symbol "https://www.googleapis.com/auth/books" ([] Symbol)
type Rs VolumesRecommendedList Source # 

Request Lenses

vrlLocale :: Lens' VolumesRecommendedList (Maybe Text) Source #

ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.

vrlMaxAllowedMaturityRating :: Lens' VolumesRecommendedList (Maybe VolumesRecommendedListMaxAllowedMaturityRating) Source #

The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.

vrlSource :: Lens' VolumesRecommendedList (Maybe Text) Source #

String to identify the originator of this request.