Copyright | (c) 2015 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 books in My Library.
See: Books API Reference for books.volumes.mybooks.list
.
- type VolumesMybooksListResource = "books" :> ("v1" :> ("volumes" :> ("mybooks" :> (QueryParams "processingState" VolumesMybooksListProcessingState :> (QueryParams "acquireMethod" VolumesMybooksListAcquireMethod :> (QueryParam "locale" Text :> (QueryParam "source" Text :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Volumes))))))))))
- volumesMybooksList :: VolumesMybooksList
- data VolumesMybooksList
- vmlProcessingState :: Lens' VolumesMybooksList [VolumesMybooksListProcessingState]
- vmlAcquireMethod :: Lens' VolumesMybooksList [VolumesMybooksListAcquireMethod]
- vmlLocale :: Lens' VolumesMybooksList (Maybe Text)
- vmlSource :: Lens' VolumesMybooksList (Maybe Text)
- vmlStartIndex :: Lens' VolumesMybooksList (Maybe Word32)
- vmlMaxResults :: Lens' VolumesMybooksList (Maybe Word32)
REST Resource
type VolumesMybooksListResource = "books" :> ("v1" :> ("volumes" :> ("mybooks" :> (QueryParams "processingState" VolumesMybooksListProcessingState :> (QueryParams "acquireMethod" VolumesMybooksListAcquireMethod :> (QueryParam "locale" Text :> (QueryParam "source" Text :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Volumes)))))))))) Source
A resource alias for books.volumes.mybooks.list
method which the
VolumesMybooksList
request conforms to.
Creating a Request
volumesMybooksList :: VolumesMybooksList Source
Creates a value of VolumesMybooksList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data VolumesMybooksList Source
Return a list of books in My Library.
See: volumesMybooksList
smart constructor.
Request Lenses
vmlProcessingState :: Lens' VolumesMybooksList [VolumesMybooksListProcessingState] Source
The processing state of the user uploaded volumes to be returned. Applicable only if the UPLOADED is specified in the acquireMethod.
vmlAcquireMethod :: Lens' VolumesMybooksList [VolumesMybooksListAcquireMethod] Source
How the book was aquired
vmlLocale :: Lens' VolumesMybooksList (Maybe Text) Source
ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for generating recommendations.
vmlSource :: Lens' VolumesMybooksList (Maybe Text) Source
String to identify the originator of this request.
vmlStartIndex :: Lens' VolumesMybooksList (Maybe Word32) Source
Index of the first result to return (starts at 0)
vmlMaxResults :: Lens' VolumesMybooksList (Maybe Word32) Source
Maximum number of results to return.