gogol-books-0.4.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.Personalizedstream.Get

Contents

Description

Returns a stream of personalized book clusters

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

Synopsis

REST Resource

type PersonalizedstreamGetResource = "books" :> ("v1" :> ("personalizedstream" :> ("get" :> (QueryParam "locale" Text :> (QueryParam "maxAllowedMaturityRating" PersonalizedstreamGetMaxAllowedMaturityRating :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Discoveryclusters))))))) Source #

A resource alias for books.personalizedstream.get method which the PersonalizedstreamGet request conforms to.

Creating a Request

personalizedstreamGet :: PersonalizedstreamGet Source #

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

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

data PersonalizedstreamGet Source #

Returns a stream of personalized book clusters

See: personalizedstreamGet smart constructor.

Instances
Eq PersonalizedstreamGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Personalizedstream.Get

Data PersonalizedstreamGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Personalizedstream.Get

Methods

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

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

toConstr :: PersonalizedstreamGet -> Constr #

dataTypeOf :: PersonalizedstreamGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PersonalizedstreamGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Personalizedstream.Get

Generic PersonalizedstreamGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Personalizedstream.Get

Associated Types

type Rep PersonalizedstreamGet :: Type -> Type #

GoogleRequest PersonalizedstreamGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Personalizedstream.Get

type Rep PersonalizedstreamGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Personalizedstream.Get

type Rep PersonalizedstreamGet = D1 (MetaData "PersonalizedstreamGet" "Network.Google.Resource.Books.Personalizedstream.Get" "gogol-books-0.4.0-JsYtirrXlXLDWYQKuxGcRl" False) (C1 (MetaCons "PersonalizedstreamGet'" PrefixI True) (S1 (MetaSel (Just "_pgLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pgMaxAllowedMaturityRating") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PersonalizedstreamGetMaxAllowedMaturityRating)) :*: S1 (MetaSel (Just "_pgSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes PersonalizedstreamGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Personalizedstream.Get

type Scopes PersonalizedstreamGet = "https://www.googleapis.com/auth/books" ': ([] :: [Symbol])
type Rs PersonalizedstreamGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Personalizedstream.Get

Request Lenses

pgLocale :: Lens' PersonalizedstreamGet (Maybe Text) Source #

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

pgMaxAllowedMaturityRating :: Lens' PersonalizedstreamGet (Maybe PersonalizedstreamGetMaxAllowedMaturityRating) Source #

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

pgSource :: Lens' PersonalizedstreamGet (Maybe Text) Source #

String to identify the originator of this request.