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 |
Returns a stream of personalized book clusters
See: Books API Reference for books.personalizedstream.get
.
Synopsis
- type PersonalizedstreamGetResource = "books" :> ("v1" :> ("personalizedstream" :> ("get" :> (QueryParam "locale" Text :> (QueryParam "maxAllowedMaturityRating" PersonalizedstreamGetMaxAllowedMaturityRating :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Discoveryclusters)))))))
- personalizedstreamGet :: PersonalizedstreamGet
- data PersonalizedstreamGet
- pgLocale :: Lens' PersonalizedstreamGet (Maybe Text)
- pgMaxAllowedMaturityRating :: Lens' PersonalizedstreamGet (Maybe PersonalizedstreamGetMaxAllowedMaturityRating)
- pgSource :: Lens' PersonalizedstreamGet (Maybe Text)
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
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.