blob: 6d2fff1530c0d2d972c015e6a987cc4cb2124169 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="books_v1.html">Books API</a> . <a href="books_v1.volumes.html">volumes</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="books_v1.volumes.associated.html">associated()</a></code>
79</p>
80<p class="firstline">Returns the associated Resource.</p>
81
82<p class="toc_element">
83 <code><a href="books_v1.volumes.mybooks.html">mybooks()</a></code>
84</p>
85<p class="firstline">Returns the mybooks Resource.</p>
86
87<p class="toc_element">
88 <code><a href="books_v1.volumes.recommended.html">recommended()</a></code>
89</p>
90<p class="firstline">Returns the recommended Resource.</p>
91
92<p class="toc_element">
93 <code><a href="books_v1.volumes.useruploaded.html">useruploaded()</a></code>
94</p>
95<p class="firstline">Returns the useruploaded Resource.</p>
96
97<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070098 <code><a href="#close">close()</a></code></p>
99<p class="firstline">Close httplib2 connections.</p>
100<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800101 <code><a href="#get">get(volumeId, country=None, partner=None, source=None, user_library_consistent_read=None, projection=None, includeNonComicsSeries=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400102<p class="firstline">Gets volume information for a single volume.</p>
103<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800104 <code><a href="#list">list(q, showPreorders=None, projection=None, filter=None, libraryRestrict=None, source=None, printType=None, maxAllowedMaturityRating=None, partner=None, orderBy=None, maxResults=None, startIndex=None, langRestrict=None, download=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -0400105<p class="firstline">Performs a book search.</p>
106<h3>Method Details</h3>
107<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700108 <code class="details" id="close">close()</code>
109 <pre>Close httplib2 connections.</pre>
110</div>
111
112<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800113 <code class="details" id="get">get(volumeId, country=None, partner=None, source=None, user_library_consistent_read=None, projection=None, includeNonComicsSeries=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400114 <pre>Gets volume information for a single volume.
115
116Args:
117 volumeId: string, ID of volume to retrieve. (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800118 country: string, ISO-3166-1 code to override the IP-based location.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800119 partner: string, Brand results for partner ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800120 source: string, string to identify the originator of this request.
121 user_library_consistent_read: boolean, A parameter
John Asmuth614db982014-04-24 15:46:26 -0400122 projection: string, Restrict information returned to a set of selected fields.
123 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700124 PROJECTION_UNDEFINED -
125 FULL - Includes all volume data.
126 LITE - Includes a subset of fields in volumeInfo and accessInfo.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800127 includeNonComicsSeries: boolean, Set to true to include non-comics series. Defaults to false.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 x__xgafv: string, V1 error format.
129 Allowed values
130 1 - v1 error format
131 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400132
133Returns:
134 An object of the form:
135
136 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800137 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for a volume. (In LITE projection.)
138 &quot;userInfo&quot;: { # User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
139 &quot;isPurchased&quot;: True or False, # Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
140 &quot;isInMyBooks&quot;: True or False, # Whether or not this volume is currently in &quot;my books.&quot;
141 &quot;entitlementType&quot;: 42, # Whether this volume is purchased, sample, pd download etc.
142 &quot;isFamilySharingAllowed&quot;: True or False, # Deprecated: Replaced by familySharing.
143 &quot;isPreordered&quot;: True or False, # Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
144 &quot;isFamilySharedToUser&quot;: True or False, # Whether or not the user received this volume through family sharing.
145 &quot;copy&quot;: { # Copy/Paste accounting information.
146 &quot;updated&quot;: &quot;A String&quot;,
147 &quot;remainingCharacterCount&quot;: 42,
148 &quot;limitType&quot;: &quot;A String&quot;,
149 &quot;allowedCharacterCount&quot;: 42,
150 },
151 &quot;userUploadedVolumeInfo&quot;: {
152 &quot;processingState&quot;: &quot;A String&quot;,
153 },
154 &quot;acquiredTime&quot;: &quot;A String&quot;, # Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time format) Acquiring includes purchase, user upload, receiving family sharing, etc.
155 &quot;isUploaded&quot;: True or False, # Whether or not this volume was user uploaded.
156 &quot;isFamilySharingDisabledByFop&quot;: True or False, # Deprecated: Replaced by familySharing.
157 &quot;isFamilySharedFromUser&quot;: True or False, # Whether or not the user shared this volume with the family.
158 &quot;rentalPeriod&quot;: { # Period during this book is/was a valid rental.
159 &quot;endUtcSec&quot;: &quot;A String&quot;,
160 &quot;startUtcSec&quot;: &quot;A String&quot;,
161 },
162 &quot;acquisitionType&quot;: 42, # How this volume was acquired.
163 &quot;familySharing&quot;: { # Information on the ability to share with the family.
164 &quot;isSharingAllowed&quot;: True or False, # Whether or not this volume can be shared with the family by the user. This includes sharing eligibility of both the volume and the user. If the value is true, the user can initiate a family sharing action.
165 &quot;familyRole&quot;: &quot;A String&quot;, # The role of the user in the family.
166 &quot;isSharingDisabledByFop&quot;: True or False, # Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet.
167 },
168 &quot;updated&quot;: &quot;A String&quot;, # Timestamp when this volume was last modified by a user action, such as a reading position update, volume purchase or writing a review. (RFC 3339 UTC date-time format).
169 &quot;readingPosition&quot;: { # The user&#x27;s current reading position in the volume, if one is available. (In LITE projection.)
170 &quot;epubCfiPosition&quot;: &quot;A String&quot;, # Position in an EPUB as a CFI.
171 &quot;gbImagePosition&quot;: &quot;A String&quot;, # Position in a volume for image-based content.
172 &quot;updated&quot;: &quot;A String&quot;, # Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).
173 &quot;gbTextPosition&quot;: &quot;A String&quot;, # Position in a volume for text-based content.
174 &quot;volumeId&quot;: &quot;A String&quot;, # Volume id associated with this reading position.
175 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a reading position.
176 &quot;pdfPosition&quot;: &quot;A String&quot;, # Position in a PDF file.
177 },
178 &quot;rentalState&quot;: &quot;A String&quot;, # Whether this book is an active or an expired rental.
179 &quot;review&quot;: { # This user&#x27;s review of this volume, if one exists.
180 &quot;content&quot;: &quot;A String&quot;, # Review text.
181 &quot;source&quot;: { # Information regarding the source of this review, when the review is not from a Google Books user.
182 &quot;extraDescription&quot;: &quot;A String&quot;, # Extra text about the source of the review.
183 &quot;description&quot;: &quot;A String&quot;, # Name of the source.
184 &quot;url&quot;: &quot;A String&quot;, # URL of the source of the review.
185 },
186 &quot;volumeId&quot;: &quot;A String&quot;, # Volume that this review is for.
187 &quot;author&quot;: { # Author of this review.
188 &quot;displayName&quot;: &quot;A String&quot;, # Name of this person.
189 },
190 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a review.
191 &quot;fullTextUrl&quot;: &quot;A String&quot;, # URL for the full review text, for reviews gathered from the web.
192 &quot;rating&quot;: &quot;A String&quot;, # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.
193 &quot;title&quot;: &quot;A String&quot;, # Title for this review.
194 &quot;date&quot;: &quot;A String&quot;, # Date of this review.
195 &quot;type&quot;: &quot;A String&quot;, # Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.
196 },
197 },
198 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a volume. (In LITE projection.)
199 &quot;etag&quot;: &quot;A String&quot;, # Opaque identifier for a specific version of a volume resource. (In LITE projection)
200 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource. (In LITE projection.)
201 &quot;layerInfo&quot;: { # What layers exist in this volume and high level information about them.
202 &quot;layers&quot;: [ # A layer should appear here if and only if the layer exists for this book.
203 {
204 &quot;volumeAnnotationsVersion&quot;: &quot;A String&quot;, # The current version of this layer&#x27;s volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* responses. The actual annotation data is versioned separately.
205 &quot;layerId&quot;: &quot;A String&quot;, # The layer id of this layer (e.g. &quot;geo&quot;).
206 },
207 ],
208 },
209 &quot;volumeInfo&quot;: { # General volume information.
210 &quot;previewLink&quot;: &quot;A String&quot;, # URL to preview this volume on the Google Books site.
211 &quot;seriesInfo&quot;: {
212 &quot;bookDisplayNumber&quot;: &quot;A String&quot;, # The display number string. This should be used only for display purposes and the actual sequence should be inferred from the below orderNumber.
213 &quot;volumeSeries&quot;: [
214 {
215 &quot;issue&quot;: [ # List of issues. Applicable only for Collection Edition and Omnibus.
216 {
217 &quot;issueDisplayNumber&quot;: &quot;A String&quot;,
218 &quot;issueOrderNumber&quot;: 42,
219 },
220 ],
221 &quot;seriesId&quot;: &quot;A String&quot;, # The series id.
222 &quot;orderNumber&quot;: 42, # The book order number in the series.
223 &quot;seriesBookType&quot;: &quot;A String&quot;, # The book type in the context of series. Examples - Single Issue, Collection Edition, etc.
224 },
225 ],
226 &quot;shortSeriesBookTitle&quot;: &quot;A String&quot;, # Short book title in the context of the series.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800227 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800228 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800229 &quot;dimensions&quot;: { # Physical dimensions of this volume.
230 &quot;height&quot;: &quot;A String&quot;, # Height or length of this volume (in cm).
231 &quot;thickness&quot;: &quot;A String&quot;, # Thickness of this volume (in cm).
232 &quot;width&quot;: &quot;A String&quot;, # Width of this volume (in cm).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800233 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800234 &quot;title&quot;: &quot;A String&quot;, # Volume title. (In LITE projection.)
235 &quot;canonicalVolumeLink&quot;: &quot;A String&quot;, # Canonical URL for a volume. (In LITE projection.)
236 &quot;pageCount&quot;: 42, # Total number of pages as per publisher metadata.
237 &quot;authors&quot;: [ # The names of the authors and/or editors for this volume. (In LITE projection)
238 &quot;A String&quot;,
239 ],
240 &quot;readingModes&quot;: { # The reading modes available for this volume.
241 &quot;image&quot;: True or False,
242 &quot;text&quot;: True or False,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800243 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800244 &quot;samplePageCount&quot;: 42, # Total number of sample pages as per publisher metadata.
245 &quot;publishedDate&quot;: &quot;A String&quot;, # Date of publication. (In LITE projection.)
246 &quot;printedPageCount&quot;: 42, # Total number of printed pages in generated pdf representation.
247 &quot;maturityRating&quot;: &quot;A String&quot;,
248 &quot;averageRating&quot;: 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
249 &quot;subtitle&quot;: &quot;A String&quot;, # Volume subtitle. (In LITE projection.)
250 &quot;comicsContent&quot;: True or False, # Whether the volume has comics content.
251 &quot;printType&quot;: &quot;A String&quot;, # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
252 &quot;ratingsCount&quot;: 42, # The number of review ratings for this volume.
253 &quot;panelizationSummary&quot;: { # A top-level summary of the panelization info in this volume.
254 &quot;imageBubbleVersion&quot;: &quot;A String&quot;,
255 &quot;epubBubbleVersion&quot;: &quot;A String&quot;,
256 &quot;containsEpubBubbles&quot;: True or False,
257 &quot;containsImageBubbles&quot;: True or False,
258 },
259 &quot;description&quot;: &quot;A String&quot;, # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
260 &quot;publisher&quot;: &quot;A String&quot;, # Publisher of this volume. (In LITE projection.)
261 &quot;contentVersion&quot;: &quot;A String&quot;, # An identifier for the version of the volume content (text &amp; images). (In LITE projection)
262 &quot;industryIdentifiers&quot;: [ # Industry standard identifiers for this volume.
263 {
264 &quot;type&quot;: &quot;A String&quot;, # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
265 &quot;identifier&quot;: &quot;A String&quot;, # Industry specific volume identifier.
266 },
267 ],
268 &quot;allowAnonLogging&quot;: True or False, # Whether anonymous logging should be allowed.
269 &quot;categories&quot;: [ # A list of subject categories, such as &quot;Fiction&quot;, &quot;Suspense&quot;, etc.
270 &quot;A String&quot;,
271 ],
272 &quot;language&quot;: &quot;A String&quot;, # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as &#x27;fr&#x27;, &#x27;en&#x27;, etc.
273 &quot;mainCategory&quot;: &quot;A String&quot;, # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
274 &quot;imageLinks&quot;: { # A list of image links for all the sizes that are available. (In LITE projection.)
275 &quot;medium&quot;: &quot;A String&quot;, # Image link for medium size (width of ~575 pixels). (In LITE projection)
276 &quot;smallThumbnail&quot;: &quot;A String&quot;, # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
277 &quot;large&quot;: &quot;A String&quot;, # Image link for large size (width of ~800 pixels). (In LITE projection)
278 &quot;extraLarge&quot;: &quot;A String&quot;, # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
279 &quot;small&quot;: &quot;A String&quot;, # Image link for small size (width of ~300 pixels). (In LITE projection)
280 &quot;thumbnail&quot;: &quot;A String&quot;, # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
281 },
282 &quot;infoLink&quot;: &quot;A String&quot;, # URL to view information about this volume on the Google Books site. (In LITE projection)
John Asmuth614db982014-04-24 15:46:26 -0400283 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700284 &quot;recommendedInfo&quot;: { # Recommendation related information for this volume.
285 &quot;explanation&quot;: &quot;A String&quot;, # A text explaining why this volume is recommended.
286 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800287 &quot;accessInfo&quot;: { # Any information about a volume related to reading or obtaining that volume text. This information can depend on country (books may be public domain in one country but not in another, e.g.).
288 &quot;viewability&quot;: &quot;A String&quot;, # The read access of a volume. Possible values are PARTIAL, ALL_PAGES, NO_PAGES or UNKNOWN. This value depends on the country listed above. A value of PARTIAL means that the publisher has allowed some portion of the volume to be viewed publicly, without purchase. This can apply to eBooks as well as non-eBooks. Public domain books will always have a value of ALL_PAGES.
289 &quot;publicDomain&quot;: True or False, # Whether or not this book is public domain in the country listed above.
290 &quot;accessViewStatus&quot;: &quot;A String&quot;, # Combines the access and viewability of this volume into a single status field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN, SAMPLE or NONE. (In LITE projection.)
291 &quot;textToSpeechPermission&quot;: &quot;A String&quot;, # Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
292 &quot;viewOrderUrl&quot;: &quot;A String&quot;, # For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page.
293 &quot;embeddable&quot;: True or False, # Whether this volume can be embedded in a viewport using the Embedded Viewer API.
294 &quot;pdf&quot;: { # Information about pdf content. (In LITE projection.)
295 &quot;isAvailable&quot;: True or False, # Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)
296 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for pdf download. (In LITE projection.)
297 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download pdf. (In LITE projection.)
298 },
299 &quot;country&quot;: &quot;A String&quot;, # The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.)
300 &quot;explicitOfflineLicenseManagement&quot;: True or False, # Whether this volume requires that the client explicitly request offline download license rather than have it done automatically when loading the content, if the client supports it.
301 &quot;epub&quot;: { # Information about epub content. (In LITE projection.)
302 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for epub download. (In LITE projection.)
303 &quot;isAvailable&quot;: True or False, # Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)
304 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download epub. (In LITE projection.)
305 },
306 &quot;downloadAccess&quot;: { # Information about a volume&#x27;s download license access restrictions.
307 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
308 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
309 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
310 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
311 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
312 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
313 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
314 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
315 &quot;reasonCode&quot;: &quot;A String&quot;, # Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS
316 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
317 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
318 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
319 },
320 &quot;quoteSharingAllowed&quot;: True or False, # Whether quote sharing is allowed for this volume.
321 &quot;webReaderLink&quot;: &quot;A String&quot;, # URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes.
322 &quot;driveImportedContentLink&quot;: &quot;A String&quot;, # URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file from Google Drive.
323 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700324 &quot;saleInfo&quot;: { # Any information about a volume related to the eBookstore and/or purchaseability. This information can depend on the country where the request originates from (i.e. books may not be for sale in certain countries).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800325 &quot;country&quot;: &quot;A String&quot;, # The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)
326 &quot;isEbook&quot;: True or False, # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
327 &quot;retailPrice&quot;: { # The actual selling price of the book. This is the same as the suggested retail or list price unless there are offers or discounts on this volume. (In LITE projection.)
328 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
329 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
330 },
331 &quot;onSaleDate&quot;: &quot;A String&quot;, # The date on which this book is available for sale.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800332 &quot;saleability&quot;: &quot;A String&quot;, # Whether or not this book is available for sale or offered for free in the Google eBookstore for the country listed above. Possible values are FOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800333 &quot;buyLink&quot;: &quot;A String&quot;, # URL to purchase this volume on the Google Books site. (In LITE projection)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700334 &quot;offers&quot;: [ # Offers available for this volume (sales and rentals).
335 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800336 &quot;giftable&quot;: True or False, # Indicates whether the offer is giftable.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800337 &quot;finskyOfferType&quot;: 42, # The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800338 &quot;retailPrice&quot;: { # Offer retail (=discounted) price in Micros
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800339 &quot;amountInMicros&quot;: 3.14,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800340 &quot;currencyCode&quot;: &quot;A String&quot;,
341 },
342 &quot;listPrice&quot;: { # Offer list (=undiscounted) price in Micros.
343 &quot;amountInMicros&quot;: 3.14,
344 &quot;currencyCode&quot;: &quot;A String&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800345 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700346 &quot;rentalDuration&quot;: { # The rental duration (for rental offers only).
347 &quot;unit&quot;: &quot;A String&quot;,
348 &quot;count&quot;: 3.14,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700349 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700350 },
351 ],
352 &quot;listPrice&quot;: { # Suggested retail price. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700353 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800354 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700355 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700356 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700357 &quot;searchInfo&quot;: { # Search result information related to this volume.
358 &quot;textSnippet&quot;: &quot;A String&quot;, # A text snippet containing the search query.
359 },
John Asmuth614db982014-04-24 15:46:26 -0400360 }</pre>
361</div>
362
363<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800364 <code class="details" id="list">list(q, showPreorders=None, projection=None, filter=None, libraryRestrict=None, source=None, printType=None, maxAllowedMaturityRating=None, partner=None, orderBy=None, maxResults=None, startIndex=None, langRestrict=None, download=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400365 <pre>Performs a book search.
366
367Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700368 q: string, Full-text search query string. (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800369 showPreorders: boolean, Set to true to show books available for preorder. Defaults to false.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700370 projection: string, Restrict information returned to a set of selected fields.
371 Allowed values
372 PROJECTION_UNDEFINED -
373 FULL - Includes all volume data.
374 LITE - Includes a subset of fields in volumeInfo and accessInfo.
John Asmuth614db982014-04-24 15:46:26 -0400375 filter: string, Filter search results.
376 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700377 FILTER_UNDEFINED -
John Asmuth614db982014-04-24 15:46:26 -0400378 ebooks - All Google eBooks.
379 free-ebooks - Google eBook with full volume text viewability.
380 full - Public can view entire volume text.
381 paid-ebooks - Google eBook with a price.
382 partial - Public able to see parts of text.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800383 libraryRestrict: string, Restrict search to this user&#x27;s library.
384 Allowed values
385 LIBRARY_RESTRICT_UNDEFINED -
386 my-library - Restrict to the user&#x27;s library, any shelf.
387 no-restrict - Do not restrict based on user&#x27;s library.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800388 source: string, String to identify the originator of this request.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700389 printType: string, Restrict to books or magazines.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700390 Allowed values
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700391 PRINT_TYPE_UNDEFINED -
392 ALL - All volume content types.
393 BOOKS - Just books.
394 MAGAZINES - Just magazines.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800395 maxAllowedMaturityRating: string, The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.
396 Allowed values
397 MAX_ALLOWED_MATURITY_RATING_UNDEFINED -
398 MATURE - Show books which are rated mature or lower.
399 not-mature - Show books which are rated not mature.
400 partner: string, Restrict and brand results for partner ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800401 orderBy: string, Sort search results.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700402 Allowed values
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800403 ORDER_BY_UNDEFINED -
404 newest - Most recently published.
405 relevance - Relevance to search terms.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800406 maxResults: integer, Maximum number of results to return.
407 startIndex: integer, Index of the first result to return (starts at 0)
408 langRestrict: string, Restrict results to books with this language code.
409 download: string, Restrict to volumes by download availability.
410 Allowed values
411 DOWNLOAD_UNDEFINED -
412 EPUB - All volumes with epub.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700413 x__xgafv: string, V1 error format.
414 Allowed values
415 1 - v1 error format
416 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400417
418Returns:
419 An object of the form:
420
421 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800422 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700423 &quot;items&quot;: [ # A list of volumes.
John Asmuth614db982014-04-24 15:46:26 -0400424 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800425 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for a volume. (In LITE projection.)
426 &quot;userInfo&quot;: { # User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
427 &quot;isPurchased&quot;: True or False, # Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
428 &quot;isInMyBooks&quot;: True or False, # Whether or not this volume is currently in &quot;my books.&quot;
429 &quot;entitlementType&quot;: 42, # Whether this volume is purchased, sample, pd download etc.
430 &quot;isFamilySharingAllowed&quot;: True or False, # Deprecated: Replaced by familySharing.
431 &quot;isPreordered&quot;: True or False, # Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
432 &quot;isFamilySharedToUser&quot;: True or False, # Whether or not the user received this volume through family sharing.
433 &quot;copy&quot;: { # Copy/Paste accounting information.
434 &quot;updated&quot;: &quot;A String&quot;,
435 &quot;remainingCharacterCount&quot;: 42,
436 &quot;limitType&quot;: &quot;A String&quot;,
437 &quot;allowedCharacterCount&quot;: 42,
438 },
439 &quot;userUploadedVolumeInfo&quot;: {
440 &quot;processingState&quot;: &quot;A String&quot;,
441 },
442 &quot;acquiredTime&quot;: &quot;A String&quot;, # Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time format) Acquiring includes purchase, user upload, receiving family sharing, etc.
443 &quot;isUploaded&quot;: True or False, # Whether or not this volume was user uploaded.
444 &quot;isFamilySharingDisabledByFop&quot;: True or False, # Deprecated: Replaced by familySharing.
445 &quot;isFamilySharedFromUser&quot;: True or False, # Whether or not the user shared this volume with the family.
446 &quot;rentalPeriod&quot;: { # Period during this book is/was a valid rental.
447 &quot;endUtcSec&quot;: &quot;A String&quot;,
448 &quot;startUtcSec&quot;: &quot;A String&quot;,
449 },
450 &quot;acquisitionType&quot;: 42, # How this volume was acquired.
451 &quot;familySharing&quot;: { # Information on the ability to share with the family.
452 &quot;isSharingAllowed&quot;: True or False, # Whether or not this volume can be shared with the family by the user. This includes sharing eligibility of both the volume and the user. If the value is true, the user can initiate a family sharing action.
453 &quot;familyRole&quot;: &quot;A String&quot;, # The role of the user in the family.
454 &quot;isSharingDisabledByFop&quot;: True or False, # Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet.
455 },
456 &quot;updated&quot;: &quot;A String&quot;, # Timestamp when this volume was last modified by a user action, such as a reading position update, volume purchase or writing a review. (RFC 3339 UTC date-time format).
457 &quot;readingPosition&quot;: { # The user&#x27;s current reading position in the volume, if one is available. (In LITE projection.)
458 &quot;epubCfiPosition&quot;: &quot;A String&quot;, # Position in an EPUB as a CFI.
459 &quot;gbImagePosition&quot;: &quot;A String&quot;, # Position in a volume for image-based content.
460 &quot;updated&quot;: &quot;A String&quot;, # Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).
461 &quot;gbTextPosition&quot;: &quot;A String&quot;, # Position in a volume for text-based content.
462 &quot;volumeId&quot;: &quot;A String&quot;, # Volume id associated with this reading position.
463 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a reading position.
464 &quot;pdfPosition&quot;: &quot;A String&quot;, # Position in a PDF file.
465 },
466 &quot;rentalState&quot;: &quot;A String&quot;, # Whether this book is an active or an expired rental.
467 &quot;review&quot;: { # This user&#x27;s review of this volume, if one exists.
468 &quot;content&quot;: &quot;A String&quot;, # Review text.
469 &quot;source&quot;: { # Information regarding the source of this review, when the review is not from a Google Books user.
470 &quot;extraDescription&quot;: &quot;A String&quot;, # Extra text about the source of the review.
471 &quot;description&quot;: &quot;A String&quot;, # Name of the source.
472 &quot;url&quot;: &quot;A String&quot;, # URL of the source of the review.
473 },
474 &quot;volumeId&quot;: &quot;A String&quot;, # Volume that this review is for.
475 &quot;author&quot;: { # Author of this review.
476 &quot;displayName&quot;: &quot;A String&quot;, # Name of this person.
477 },
478 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a review.
479 &quot;fullTextUrl&quot;: &quot;A String&quot;, # URL for the full review text, for reviews gathered from the web.
480 &quot;rating&quot;: &quot;A String&quot;, # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.
481 &quot;title&quot;: &quot;A String&quot;, # Title for this review.
482 &quot;date&quot;: &quot;A String&quot;, # Date of this review.
483 &quot;type&quot;: &quot;A String&quot;, # Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.
484 },
485 },
486 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a volume. (In LITE projection.)
487 &quot;etag&quot;: &quot;A String&quot;, # Opaque identifier for a specific version of a volume resource. (In LITE projection)
488 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource. (In LITE projection.)
489 &quot;layerInfo&quot;: { # What layers exist in this volume and high level information about them.
490 &quot;layers&quot;: [ # A layer should appear here if and only if the layer exists for this book.
491 {
492 &quot;volumeAnnotationsVersion&quot;: &quot;A String&quot;, # The current version of this layer&#x27;s volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* responses. The actual annotation data is versioned separately.
493 &quot;layerId&quot;: &quot;A String&quot;, # The layer id of this layer (e.g. &quot;geo&quot;).
494 },
495 ],
496 },
497 &quot;volumeInfo&quot;: { # General volume information.
498 &quot;previewLink&quot;: &quot;A String&quot;, # URL to preview this volume on the Google Books site.
499 &quot;seriesInfo&quot;: {
500 &quot;bookDisplayNumber&quot;: &quot;A String&quot;, # The display number string. This should be used only for display purposes and the actual sequence should be inferred from the below orderNumber.
501 &quot;volumeSeries&quot;: [
502 {
503 &quot;issue&quot;: [ # List of issues. Applicable only for Collection Edition and Omnibus.
504 {
505 &quot;issueDisplayNumber&quot;: &quot;A String&quot;,
506 &quot;issueOrderNumber&quot;: 42,
507 },
508 ],
509 &quot;seriesId&quot;: &quot;A String&quot;, # The series id.
510 &quot;orderNumber&quot;: 42, # The book order number in the series.
511 &quot;seriesBookType&quot;: &quot;A String&quot;, # The book type in the context of series. Examples - Single Issue, Collection Edition, etc.
512 },
513 ],
514 &quot;shortSeriesBookTitle&quot;: &quot;A String&quot;, # Short book title in the context of the series.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800515 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800516 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800517 &quot;dimensions&quot;: { # Physical dimensions of this volume.
518 &quot;height&quot;: &quot;A String&quot;, # Height or length of this volume (in cm).
519 &quot;thickness&quot;: &quot;A String&quot;, # Thickness of this volume (in cm).
520 &quot;width&quot;: &quot;A String&quot;, # Width of this volume (in cm).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800521 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800522 &quot;title&quot;: &quot;A String&quot;, # Volume title. (In LITE projection.)
523 &quot;canonicalVolumeLink&quot;: &quot;A String&quot;, # Canonical URL for a volume. (In LITE projection.)
524 &quot;pageCount&quot;: 42, # Total number of pages as per publisher metadata.
525 &quot;authors&quot;: [ # The names of the authors and/or editors for this volume. (In LITE projection)
526 &quot;A String&quot;,
527 ],
528 &quot;readingModes&quot;: { # The reading modes available for this volume.
529 &quot;image&quot;: True or False,
530 &quot;text&quot;: True or False,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800531 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800532 &quot;samplePageCount&quot;: 42, # Total number of sample pages as per publisher metadata.
533 &quot;publishedDate&quot;: &quot;A String&quot;, # Date of publication. (In LITE projection.)
534 &quot;printedPageCount&quot;: 42, # Total number of printed pages in generated pdf representation.
535 &quot;maturityRating&quot;: &quot;A String&quot;,
536 &quot;averageRating&quot;: 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
537 &quot;subtitle&quot;: &quot;A String&quot;, # Volume subtitle. (In LITE projection.)
538 &quot;comicsContent&quot;: True or False, # Whether the volume has comics content.
539 &quot;printType&quot;: &quot;A String&quot;, # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
540 &quot;ratingsCount&quot;: 42, # The number of review ratings for this volume.
541 &quot;panelizationSummary&quot;: { # A top-level summary of the panelization info in this volume.
542 &quot;imageBubbleVersion&quot;: &quot;A String&quot;,
543 &quot;epubBubbleVersion&quot;: &quot;A String&quot;,
544 &quot;containsEpubBubbles&quot;: True or False,
545 &quot;containsImageBubbles&quot;: True or False,
546 },
547 &quot;description&quot;: &quot;A String&quot;, # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
548 &quot;publisher&quot;: &quot;A String&quot;, # Publisher of this volume. (In LITE projection.)
549 &quot;contentVersion&quot;: &quot;A String&quot;, # An identifier for the version of the volume content (text &amp; images). (In LITE projection)
550 &quot;industryIdentifiers&quot;: [ # Industry standard identifiers for this volume.
551 {
552 &quot;type&quot;: &quot;A String&quot;, # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
553 &quot;identifier&quot;: &quot;A String&quot;, # Industry specific volume identifier.
554 },
555 ],
556 &quot;allowAnonLogging&quot;: True or False, # Whether anonymous logging should be allowed.
557 &quot;categories&quot;: [ # A list of subject categories, such as &quot;Fiction&quot;, &quot;Suspense&quot;, etc.
558 &quot;A String&quot;,
559 ],
560 &quot;language&quot;: &quot;A String&quot;, # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as &#x27;fr&#x27;, &#x27;en&#x27;, etc.
561 &quot;mainCategory&quot;: &quot;A String&quot;, # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
562 &quot;imageLinks&quot;: { # A list of image links for all the sizes that are available. (In LITE projection.)
563 &quot;medium&quot;: &quot;A String&quot;, # Image link for medium size (width of ~575 pixels). (In LITE projection)
564 &quot;smallThumbnail&quot;: &quot;A String&quot;, # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
565 &quot;large&quot;: &quot;A String&quot;, # Image link for large size (width of ~800 pixels). (In LITE projection)
566 &quot;extraLarge&quot;: &quot;A String&quot;, # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
567 &quot;small&quot;: &quot;A String&quot;, # Image link for small size (width of ~300 pixels). (In LITE projection)
568 &quot;thumbnail&quot;: &quot;A String&quot;, # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
569 },
570 &quot;infoLink&quot;: &quot;A String&quot;, # URL to view information about this volume on the Google Books site. (In LITE projection)
John Asmuth614db982014-04-24 15:46:26 -0400571 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700572 &quot;recommendedInfo&quot;: { # Recommendation related information for this volume.
573 &quot;explanation&quot;: &quot;A String&quot;, # A text explaining why this volume is recommended.
574 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800575 &quot;accessInfo&quot;: { # Any information about a volume related to reading or obtaining that volume text. This information can depend on country (books may be public domain in one country but not in another, e.g.).
576 &quot;viewability&quot;: &quot;A String&quot;, # The read access of a volume. Possible values are PARTIAL, ALL_PAGES, NO_PAGES or UNKNOWN. This value depends on the country listed above. A value of PARTIAL means that the publisher has allowed some portion of the volume to be viewed publicly, without purchase. This can apply to eBooks as well as non-eBooks. Public domain books will always have a value of ALL_PAGES.
577 &quot;publicDomain&quot;: True or False, # Whether or not this book is public domain in the country listed above.
578 &quot;accessViewStatus&quot;: &quot;A String&quot;, # Combines the access and viewability of this volume into a single status field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN, SAMPLE or NONE. (In LITE projection.)
579 &quot;textToSpeechPermission&quot;: &quot;A String&quot;, # Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
580 &quot;viewOrderUrl&quot;: &quot;A String&quot;, # For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page.
581 &quot;embeddable&quot;: True or False, # Whether this volume can be embedded in a viewport using the Embedded Viewer API.
582 &quot;pdf&quot;: { # Information about pdf content. (In LITE projection.)
583 &quot;isAvailable&quot;: True or False, # Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)
584 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for pdf download. (In LITE projection.)
585 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download pdf. (In LITE projection.)
586 },
587 &quot;country&quot;: &quot;A String&quot;, # The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.)
588 &quot;explicitOfflineLicenseManagement&quot;: True or False, # Whether this volume requires that the client explicitly request offline download license rather than have it done automatically when loading the content, if the client supports it.
589 &quot;epub&quot;: { # Information about epub content. (In LITE projection.)
590 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for epub download. (In LITE projection.)
591 &quot;isAvailable&quot;: True or False, # Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)
592 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download epub. (In LITE projection.)
593 },
594 &quot;downloadAccess&quot;: { # Information about a volume&#x27;s download license access restrictions.
595 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
596 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
597 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
598 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
599 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
600 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
601 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
602 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
603 &quot;reasonCode&quot;: &quot;A String&quot;, # Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS
604 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
605 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
606 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
607 },
608 &quot;quoteSharingAllowed&quot;: True or False, # Whether quote sharing is allowed for this volume.
609 &quot;webReaderLink&quot;: &quot;A String&quot;, # URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes.
610 &quot;driveImportedContentLink&quot;: &quot;A String&quot;, # URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file from Google Drive.
611 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700612 &quot;saleInfo&quot;: { # Any information about a volume related to the eBookstore and/or purchaseability. This information can depend on the country where the request originates from (i.e. books may not be for sale in certain countries).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800613 &quot;country&quot;: &quot;A String&quot;, # The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)
614 &quot;isEbook&quot;: True or False, # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
615 &quot;retailPrice&quot;: { # The actual selling price of the book. This is the same as the suggested retail or list price unless there are offers or discounts on this volume. (In LITE projection.)
616 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
617 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
618 },
619 &quot;onSaleDate&quot;: &quot;A String&quot;, # The date on which this book is available for sale.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800620 &quot;saleability&quot;: &quot;A String&quot;, # Whether or not this book is available for sale or offered for free in the Google eBookstore for the country listed above. Possible values are FOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800621 &quot;buyLink&quot;: &quot;A String&quot;, # URL to purchase this volume on the Google Books site. (In LITE projection)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700622 &quot;offers&quot;: [ # Offers available for this volume (sales and rentals).
623 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800624 &quot;giftable&quot;: True or False, # Indicates whether the offer is giftable.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800625 &quot;finskyOfferType&quot;: 42, # The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800626 &quot;retailPrice&quot;: { # Offer retail (=discounted) price in Micros
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800627 &quot;amountInMicros&quot;: 3.14,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800628 &quot;currencyCode&quot;: &quot;A String&quot;,
629 },
630 &quot;listPrice&quot;: { # Offer list (=undiscounted) price in Micros.
631 &quot;amountInMicros&quot;: 3.14,
632 &quot;currencyCode&quot;: &quot;A String&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800633 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700634 &quot;rentalDuration&quot;: { # The rental duration (for rental offers only).
635 &quot;unit&quot;: &quot;A String&quot;,
636 &quot;count&quot;: 3.14,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700637 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700638 },
639 ],
640 &quot;listPrice&quot;: { # Suggested retail price. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700641 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800642 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700643 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700644 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700645 &quot;searchInfo&quot;: { # Search result information related to this volume.
646 &quot;textSnippet&quot;: &quot;A String&quot;, # A text snippet containing the search query.
647 },
John Asmuth614db982014-04-24 15:46:26 -0400648 },
649 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800650 &quot;totalItems&quot;: 42, # Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated.
John Asmuth614db982014-04-24 15:46:26 -0400651 }</pre>
652</div>
653
654</body></html>