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 |
Return a list of recommended books for the current user.
See: Books API Reference for books.volumes.recommended.list
.
Synopsis
- type VolumesRecommendedListResource = "books" :> ("v1" :> ("volumes" :> ("recommended" :> (QueryParam "locale" Text :> (QueryParam "maxAllowedMaturityRating" VolumesRecommendedListMaxAllowedMaturityRating :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Volumes)))))))
- volumesRecommendedList :: VolumesRecommendedList
- data VolumesRecommendedList
- vrlLocale :: Lens' VolumesRecommendedList (Maybe Text)
- vrlMaxAllowedMaturityRating :: Lens' VolumesRecommendedList (Maybe VolumesRecommendedListMaxAllowedMaturityRating)
- vrlSource :: Lens' VolumesRecommendedList (Maybe Text)
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
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.