blob: bdf788897cac523f5368bf3d3cfb254dbfa45d64 [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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700101 <code><a href="#get">get(volumeId, country=None, user_library_consistent_read=None, partner=None, source=None, includeNonComicsSeries=None, projection=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700104 <code><a href="#list">list(q, langRestrict=None, orderBy=None, source=None, startIndex=None, showPreorders=None, maxResults=None, libraryRestrict=None, projection=None, download=None, filter=None, printType=None, maxAllowedMaturityRating=None, partner=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700113 <code class="details" id="get">get(volumeId, country=None, user_library_consistent_read=None, partner=None, source=None, includeNonComicsSeries=None, projection=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)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700118 country: string, ISO-3166-1 code to override the IP-based location.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700119 user_library_consistent_read: boolean, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700120 partner: string, Brand results for partner ID.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121 source: string, string to identify the originator of this request.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700122 includeNonComicsSeries: boolean, Set to true to include non-comics series. Defaults to false.
John Asmuth614db982014-04-24 15:46:26 -0400123 projection: string, Restrict information returned to a set of selected fields.
124 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700125 PROJECTION_UNDEFINED -
126 FULL - Includes all volume data.
127 LITE - Includes a subset of fields in volumeInfo and accessInfo.
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 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700137 &quot;layerInfo&quot;: { # What layers exist in this volume and high level information about them.
138 &quot;layers&quot;: [ # A layer should appear here if and only if the layer exists for this book.
139 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700140 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700141 &quot;layerId&quot;: &quot;A String&quot;, # The layer id of this layer (e.g. &quot;geo&quot;).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700142 },
143 ],
John Asmuth614db982014-04-24 15:46:26 -0400144 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700145 &quot;recommendedInfo&quot;: { # Recommendation related information for this volume.
146 &quot;explanation&quot;: &quot;A String&quot;, # A text explaining why this volume is recommended.
147 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700148 &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).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700149 &quot;offers&quot;: [ # Offers available for this volume (sales and rentals).
150 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700151 &quot;listPrice&quot;: { # Offer list (=undiscounted) price in Micros.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700152 &quot;currencyCode&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700153 &quot;amountInMicros&quot;: 3.14,
154 },
155 &quot;rentalDuration&quot;: { # The rental duration (for rental offers only).
156 &quot;unit&quot;: &quot;A String&quot;,
157 &quot;count&quot;: 3.14,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700158 },
159 &quot;retailPrice&quot;: { # Offer retail (=discounted) price in Micros
160 &quot;currencyCode&quot;: &quot;A String&quot;,
161 &quot;amountInMicros&quot;: 3.14,
162 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700163 &quot;finskyOfferType&quot;: 42, # The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
164 &quot;giftable&quot;: True or False, # Indicates whether the offer is giftable.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700165 },
166 ],
167 &quot;listPrice&quot;: { # Suggested retail price. (In LITE projection.)
168 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
169 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
170 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700171 &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.)
172 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
173 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
174 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700175 &quot;buyLink&quot;: &quot;A String&quot;, # URL to purchase this volume on the Google Books site. (In LITE projection)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700176 &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.)
177 &quot;onSaleDate&quot;: &quot;A String&quot;, # The date on which this book is available for sale.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700178 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700179 &quot;isEbook&quot;: True or False, # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700180 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700181 &quot;etag&quot;: &quot;A String&quot;, # Opaque identifier for a specific version of a volume resource. (In LITE projection)
182 &quot;userInfo&quot;: { # User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
183 &quot;readingPosition&quot;: { # The user&#x27;s current reading position in the volume, if one is available. (In LITE projection.)
184 &quot;updated&quot;: &quot;A String&quot;, # Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).
185 &quot;gbTextPosition&quot;: &quot;A String&quot;, # Position in a volume for text-based content.
186 &quot;volumeId&quot;: &quot;A String&quot;, # Volume id associated with this reading position.
187 &quot;gbImagePosition&quot;: &quot;A String&quot;, # Position in a volume for image-based content.
188 &quot;pdfPosition&quot;: &quot;A String&quot;, # Position in a PDF file.
189 &quot;epubCfiPosition&quot;: &quot;A String&quot;, # Position in an EPUB as a CFI.
190 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a reading position.
191 },
192 &quot;isFamilySharingAllowed&quot;: True or False, # Deprecated: Replaced by familySharing.
193 &quot;isFamilySharedToUser&quot;: True or False, # Whether or not the user received this volume through family sharing.
194 &quot;isUploaded&quot;: True or False, # Whether or not this volume was user uploaded.
195 &quot;isPreordered&quot;: True or False, # Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
196 &quot;isFamilySharedFromUser&quot;: True or False, # Whether or not the user shared this volume with the family.
197 &quot;entitlementType&quot;: 42, # Whether this volume is purchased, sample, pd download etc.
198 &quot;acquisitionType&quot;: 42, # How this volume was acquired.
199 &quot;review&quot;: { # This user&#x27;s review of this volume, if one exists.
200 &quot;volumeId&quot;: &quot;A String&quot;, # Volume that this review is for.
201 &quot;date&quot;: &quot;A String&quot;, # Date of this review.
202 &quot;title&quot;: &quot;A String&quot;, # Title for this review.
203 &quot;type&quot;: &quot;A String&quot;, # Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.
204 &quot;fullTextUrl&quot;: &quot;A String&quot;, # URL for the full review text, for reviews gathered from the web.
205 &quot;author&quot;: { # Author of this review.
206 &quot;displayName&quot;: &quot;A String&quot;, # Name of this person.
207 },
208 &quot;source&quot;: { # Information regarding the source of this review, when the review is not from a Google Books user.
209 &quot;url&quot;: &quot;A String&quot;, # URL of the source of the review.
210 &quot;extraDescription&quot;: &quot;A String&quot;, # Extra text about the source of the review.
211 &quot;description&quot;: &quot;A String&quot;, # Name of the source.
212 },
213 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a review.
214 &quot;rating&quot;: &quot;A String&quot;, # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.
215 &quot;content&quot;: &quot;A String&quot;, # Review text.
216 },
217 &quot;copy&quot;: { # Copy/Paste accounting information.
218 &quot;updated&quot;: &quot;A String&quot;,
219 &quot;allowedCharacterCount&quot;: 42,
220 &quot;limitType&quot;: &quot;A String&quot;,
221 &quot;remainingCharacterCount&quot;: 42,
222 },
223 &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).
224 &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.
225 &quot;rentalPeriod&quot;: { # Period during this book is/was a valid rental.
226 &quot;startUtcSec&quot;: &quot;A String&quot;,
227 &quot;endUtcSec&quot;: &quot;A String&quot;,
228 },
229 &quot;userUploadedVolumeInfo&quot;: {
230 &quot;processingState&quot;: &quot;A String&quot;,
231 },
232 &quot;rentalState&quot;: &quot;A String&quot;, # Whether this book is an active or an expired rental.
233 &quot;isInMyBooks&quot;: True or False, # Whether or not this volume is currently in &quot;my books.&quot;
234 &quot;isFamilySharingDisabledByFop&quot;: True or False, # Deprecated: Replaced by familySharing.
235 &quot;familySharing&quot;: { # Information on the ability to share with the family.
236 &quot;familyRole&quot;: &quot;A String&quot;, # The role of the user in the family.
237 &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.
238 &quot;isSharingDisabledByFop&quot;: True or False, # Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet.
239 },
240 &quot;isPurchased&quot;: True or False, # Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
241 },
242 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for a volume. (In LITE projection.)
243 &quot;volumeInfo&quot;: { # General volume information.
244 &quot;maturityRating&quot;: &quot;A String&quot;,
245 &quot;samplePageCount&quot;: 42, # Total number of sample pages as per publisher metadata.
246 &quot;previewLink&quot;: &quot;A String&quot;, # URL to preview this volume on the Google Books site.
247 &quot;dimensions&quot;: { # Physical dimensions of this volume.
248 &quot;height&quot;: &quot;A String&quot;, # Height or length of this volume (in cm).
249 &quot;width&quot;: &quot;A String&quot;, # Width of this volume (in cm).
250 &quot;thickness&quot;: &quot;A String&quot;, # Thickness of this volume (in cm).
251 },
252 &quot;industryIdentifiers&quot;: [ # Industry standard identifiers for this volume.
253 {
254 &quot;identifier&quot;: &quot;A String&quot;, # Industry specific volume identifier.
255 &quot;type&quot;: &quot;A String&quot;, # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
256 },
257 ],
258 &quot;title&quot;: &quot;A String&quot;, # Volume title. (In LITE projection.)
259 &quot;comicsContent&quot;: True or False, # Whether the volume has comics content.
260 &quot;canonicalVolumeLink&quot;: &quot;A String&quot;, # Canonical URL for a 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;authors&quot;: [ # The names of the authors and/or editors for this volume. (In LITE projection)
263 &quot;A String&quot;,
264 ],
265 &quot;publishedDate&quot;: &quot;A String&quot;, # Date of publication. (In LITE projection.)
266 &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.
267 &quot;seriesInfo&quot;: {
268 &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.
269 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
270 &quot;shortSeriesBookTitle&quot;: &quot;A String&quot;, # Short book title in the context of the series.
271 &quot;volumeSeries&quot;: [
272 {
273 &quot;issue&quot;: [ # List of issues. Applicable only for Collection Edition and Omnibus.
274 {
275 &quot;issueDisplayNumber&quot;: &quot;A String&quot;,
276 &quot;issueOrderNumber&quot;: 42,
277 },
278 ],
279 &quot;seriesBookType&quot;: &quot;A String&quot;, # The book type in the context of series. Examples - Single Issue, Collection Edition, etc.
280 &quot;seriesId&quot;: &quot;A String&quot;, # The series id.
281 &quot;orderNumber&quot;: 42, # The book order number in the series.
282 },
283 ],
284 },
285 &quot;ratingsCount&quot;: 42, # The number of review ratings for this volume.
286 &quot;subtitle&quot;: &quot;A String&quot;, # Volume subtitle. (In LITE projection.)
287 &quot;pageCount&quot;: 42, # Total number of pages as per publisher metadata.
288 &quot;imageLinks&quot;: { # A list of image links for all the sizes that are available. (In LITE projection.)
289 &quot;medium&quot;: &quot;A String&quot;, # Image link for medium size (width of ~575 pixels). (In LITE projection)
290 &quot;extraLarge&quot;: &quot;A String&quot;, # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
291 &quot;small&quot;: &quot;A String&quot;, # Image link for small size (width of ~300 pixels). (In LITE projection)
292 &quot;large&quot;: &quot;A String&quot;, # Image link for large size (width of ~800 pixels). (In LITE projection)
293 &quot;thumbnail&quot;: &quot;A String&quot;, # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
294 &quot;smallThumbnail&quot;: &quot;A String&quot;, # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
295 },
296 &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.)
297 &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.
298 &quot;categories&quot;: [ # A list of subject categories, such as &quot;Fiction&quot;, &quot;Suspense&quot;, etc.
299 &quot;A String&quot;,
300 ],
301 &quot;publisher&quot;: &quot;A String&quot;, # Publisher of this volume. (In LITE projection.)
302 &quot;panelizationSummary&quot;: { # A top-level summary of the panelization info in this volume.
303 &quot;epubBubbleVersion&quot;: &quot;A String&quot;,
304 &quot;imageBubbleVersion&quot;: &quot;A String&quot;,
305 &quot;containsEpubBubbles&quot;: True or False,
306 &quot;containsImageBubbles&quot;: True or False,
307 },
308 &quot;allowAnonLogging&quot;: True or False, # Whether anonymous logging should be allowed.
309 &quot;printedPageCount&quot;: 42, # Total number of printed pages in generated pdf representation.
310 &quot;infoLink&quot;: &quot;A String&quot;, # URL to view information about this volume on the Google Books site. (In LITE projection)
311 &quot;printType&quot;: &quot;A String&quot;, # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
312 &quot;readingModes&quot;: { # The reading modes available for this volume.
313 &quot;image&quot;: True or False,
314 &quot;text&quot;: True or False,
315 },
316 &quot;averageRating&quot;: 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
317 },
318 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource. (In LITE projection.)
319 &quot;searchInfo&quot;: { # Search result information related to this volume.
320 &quot;textSnippet&quot;: &quot;A String&quot;, # A text snippet containing the search query.
321 },
322 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a volume. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700323 &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.).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700324 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700325 &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.)
326 &quot;embeddable&quot;: True or False, # Whether this volume can be embedded in a viewport using the Embedded Viewer API.
327 &quot;quoteSharingAllowed&quot;: True or False, # Whether quote sharing is allowed for this volume.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700328 &quot;downloadAccess&quot;: { # Information about a volume&#x27;s download license access restrictions.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700329 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700330 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700331 &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
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700332 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
333 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700334 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
335 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
336 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700337 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700338 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700339 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700340 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700341 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700342 &quot;epub&quot;: { # Information about epub content. (In LITE projection.)
343 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download epub. (In LITE projection.)
344 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for epub download. (In LITE projection.)
345 &quot;isAvailable&quot;: True or False, # Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)
346 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700347 &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.
348 &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.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700349 &quot;publicDomain&quot;: True or False, # Whether or not this book is public domain in the country listed above.
350 &quot;pdf&quot;: { # Information about pdf content. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700351 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for pdf download. (In LITE projection.)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700352 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download pdf. (In LITE projection.)
353 &quot;isAvailable&quot;: True or False, # Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700354 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700355 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700356 &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.
357 &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.
358 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700359 },
John Asmuth614db982014-04-24 15:46:26 -0400360 }</pre>
361</div>
362
363<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700364 <code class="details" id="list">list(q, langRestrict=None, orderBy=None, source=None, startIndex=None, showPreorders=None, maxResults=None, libraryRestrict=None, projection=None, download=None, filter=None, printType=None, maxAllowedMaturityRating=None, partner=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)
369 langRestrict: string, Restrict results to books with this language code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700370 orderBy: string, Sort search results.
371 Allowed values
372 ORDER_BY_UNDEFINED -
373 newest - Most recently published.
374 relevance - Relevance to search terms.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700375 source: string, String to identify the originator of this request.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700376 startIndex: integer, Index of the first result to return (starts at 0)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700377 showPreorders: boolean, Set to true to show books available for preorder. Defaults to false.
378 maxResults: integer, Maximum number of results to return.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700379 libraryRestrict: string, Restrict search to this user&#x27;s library.
380 Allowed values
381 LIBRARY_RESTRICT_UNDEFINED -
382 my-library - Restrict to the user&#x27;s library, any shelf.
383 no-restrict - Do not restrict based on user&#x27;s library.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700384 projection: string, Restrict information returned to a set of selected fields.
385 Allowed values
386 PROJECTION_UNDEFINED -
387 FULL - Includes all volume data.
388 LITE - Includes a subset of fields in volumeInfo and accessInfo.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700389 download: string, Restrict to volumes by download availability.
390 Allowed values
391 DOWNLOAD_UNDEFINED -
392 EPUB - All volumes with epub.
John Asmuth614db982014-04-24 15:46:26 -0400393 filter: string, Filter search results.
394 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700395 FILTER_UNDEFINED -
John Asmuth614db982014-04-24 15:46:26 -0400396 ebooks - All Google eBooks.
397 free-ebooks - Google eBook with full volume text viewability.
398 full - Public can view entire volume text.
399 paid-ebooks - Google eBook with a price.
400 partial - Public able to see parts of text.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700401 printType: string, Restrict to books or magazines.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700402 Allowed values
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700403 PRINT_TYPE_UNDEFINED -
404 ALL - All volume content types.
405 BOOKS - Just books.
406 MAGAZINES - Just magazines.
407 maxAllowedMaturityRating: string, The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.
408 Allowed values
409 MAX_ALLOWED_MATURITY_RATING_UNDEFINED -
410 MATURE - Show books which are rated mature or lower.
411 not-mature - Show books which are rated not mature.
412 partner: string, Restrict and brand results for partner ID.
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 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700422 &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.
423 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700424 &quot;items&quot;: [ # A list of volumes.
John Asmuth614db982014-04-24 15:46:26 -0400425 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700426 &quot;layerInfo&quot;: { # What layers exist in this volume and high level information about them.
427 &quot;layers&quot;: [ # A layer should appear here if and only if the layer exists for this book.
428 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700429 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700430 &quot;layerId&quot;: &quot;A String&quot;, # The layer id of this layer (e.g. &quot;geo&quot;).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700431 },
432 ],
John Asmuth614db982014-04-24 15:46:26 -0400433 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700434 &quot;recommendedInfo&quot;: { # Recommendation related information for this volume.
435 &quot;explanation&quot;: &quot;A String&quot;, # A text explaining why this volume is recommended.
436 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700437 &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).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700438 &quot;offers&quot;: [ # Offers available for this volume (sales and rentals).
439 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700440 &quot;listPrice&quot;: { # Offer list (=undiscounted) price in Micros.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700441 &quot;currencyCode&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700442 &quot;amountInMicros&quot;: 3.14,
443 },
444 &quot;rentalDuration&quot;: { # The rental duration (for rental offers only).
445 &quot;unit&quot;: &quot;A String&quot;,
446 &quot;count&quot;: 3.14,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700447 },
448 &quot;retailPrice&quot;: { # Offer retail (=discounted) price in Micros
449 &quot;currencyCode&quot;: &quot;A String&quot;,
450 &quot;amountInMicros&quot;: 3.14,
451 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700452 &quot;finskyOfferType&quot;: 42, # The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
453 &quot;giftable&quot;: True or False, # Indicates whether the offer is giftable.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700454 },
455 ],
456 &quot;listPrice&quot;: { # Suggested retail price. (In LITE projection.)
457 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
458 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
459 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700460 &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.)
461 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
462 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
463 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700464 &quot;buyLink&quot;: &quot;A String&quot;, # URL to purchase this volume on the Google Books site. (In LITE projection)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700465 &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.)
466 &quot;onSaleDate&quot;: &quot;A String&quot;, # The date on which this book is available for sale.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700467 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700468 &quot;isEbook&quot;: True or False, # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700469 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700470 &quot;etag&quot;: &quot;A String&quot;, # Opaque identifier for a specific version of a volume resource. (In LITE projection)
471 &quot;userInfo&quot;: { # User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
472 &quot;readingPosition&quot;: { # The user&#x27;s current reading position in the volume, if one is available. (In LITE projection.)
473 &quot;updated&quot;: &quot;A String&quot;, # Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).
474 &quot;gbTextPosition&quot;: &quot;A String&quot;, # Position in a volume for text-based content.
475 &quot;volumeId&quot;: &quot;A String&quot;, # Volume id associated with this reading position.
476 &quot;gbImagePosition&quot;: &quot;A String&quot;, # Position in a volume for image-based content.
477 &quot;pdfPosition&quot;: &quot;A String&quot;, # Position in a PDF file.
478 &quot;epubCfiPosition&quot;: &quot;A String&quot;, # Position in an EPUB as a CFI.
479 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a reading position.
480 },
481 &quot;isFamilySharingAllowed&quot;: True or False, # Deprecated: Replaced by familySharing.
482 &quot;isFamilySharedToUser&quot;: True or False, # Whether or not the user received this volume through family sharing.
483 &quot;isUploaded&quot;: True or False, # Whether or not this volume was user uploaded.
484 &quot;isPreordered&quot;: True or False, # Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
485 &quot;isFamilySharedFromUser&quot;: True or False, # Whether or not the user shared this volume with the family.
486 &quot;entitlementType&quot;: 42, # Whether this volume is purchased, sample, pd download etc.
487 &quot;acquisitionType&quot;: 42, # How this volume was acquired.
488 &quot;review&quot;: { # This user&#x27;s review of this volume, if one exists.
489 &quot;volumeId&quot;: &quot;A String&quot;, # Volume that this review is for.
490 &quot;date&quot;: &quot;A String&quot;, # Date of this review.
491 &quot;title&quot;: &quot;A String&quot;, # Title for this review.
492 &quot;type&quot;: &quot;A String&quot;, # Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.
493 &quot;fullTextUrl&quot;: &quot;A String&quot;, # URL for the full review text, for reviews gathered from the web.
494 &quot;author&quot;: { # Author of this review.
495 &quot;displayName&quot;: &quot;A String&quot;, # Name of this person.
496 },
497 &quot;source&quot;: { # Information regarding the source of this review, when the review is not from a Google Books user.
498 &quot;url&quot;: &quot;A String&quot;, # URL of the source of the review.
499 &quot;extraDescription&quot;: &quot;A String&quot;, # Extra text about the source of the review.
500 &quot;description&quot;: &quot;A String&quot;, # Name of the source.
501 },
502 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a review.
503 &quot;rating&quot;: &quot;A String&quot;, # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.
504 &quot;content&quot;: &quot;A String&quot;, # Review text.
505 },
506 &quot;copy&quot;: { # Copy/Paste accounting information.
507 &quot;updated&quot;: &quot;A String&quot;,
508 &quot;allowedCharacterCount&quot;: 42,
509 &quot;limitType&quot;: &quot;A String&quot;,
510 &quot;remainingCharacterCount&quot;: 42,
511 },
512 &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).
513 &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.
514 &quot;rentalPeriod&quot;: { # Period during this book is/was a valid rental.
515 &quot;startUtcSec&quot;: &quot;A String&quot;,
516 &quot;endUtcSec&quot;: &quot;A String&quot;,
517 },
518 &quot;userUploadedVolumeInfo&quot;: {
519 &quot;processingState&quot;: &quot;A String&quot;,
520 },
521 &quot;rentalState&quot;: &quot;A String&quot;, # Whether this book is an active or an expired rental.
522 &quot;isInMyBooks&quot;: True or False, # Whether or not this volume is currently in &quot;my books.&quot;
523 &quot;isFamilySharingDisabledByFop&quot;: True or False, # Deprecated: Replaced by familySharing.
524 &quot;familySharing&quot;: { # Information on the ability to share with the family.
525 &quot;familyRole&quot;: &quot;A String&quot;, # The role of the user in the family.
526 &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.
527 &quot;isSharingDisabledByFop&quot;: True or False, # Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet.
528 },
529 &quot;isPurchased&quot;: True or False, # Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
530 },
531 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for a volume. (In LITE projection.)
532 &quot;volumeInfo&quot;: { # General volume information.
533 &quot;maturityRating&quot;: &quot;A String&quot;,
534 &quot;samplePageCount&quot;: 42, # Total number of sample pages as per publisher metadata.
535 &quot;previewLink&quot;: &quot;A String&quot;, # URL to preview this volume on the Google Books site.
536 &quot;dimensions&quot;: { # Physical dimensions of this volume.
537 &quot;height&quot;: &quot;A String&quot;, # Height or length of this volume (in cm).
538 &quot;width&quot;: &quot;A String&quot;, # Width of this volume (in cm).
539 &quot;thickness&quot;: &quot;A String&quot;, # Thickness of this volume (in cm).
540 },
541 &quot;industryIdentifiers&quot;: [ # Industry standard identifiers for this volume.
542 {
543 &quot;identifier&quot;: &quot;A String&quot;, # Industry specific volume identifier.
544 &quot;type&quot;: &quot;A String&quot;, # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
545 },
546 ],
547 &quot;title&quot;: &quot;A String&quot;, # Volume title. (In LITE projection.)
548 &quot;comicsContent&quot;: True or False, # Whether the volume has comics content.
549 &quot;canonicalVolumeLink&quot;: &quot;A String&quot;, # Canonical URL for a volume. (In LITE projection.)
550 &quot;contentVersion&quot;: &quot;A String&quot;, # An identifier for the version of the volume content (text &amp; images). (In LITE projection)
551 &quot;authors&quot;: [ # The names of the authors and/or editors for this volume. (In LITE projection)
552 &quot;A String&quot;,
553 ],
554 &quot;publishedDate&quot;: &quot;A String&quot;, # Date of publication. (In LITE projection.)
555 &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.
556 &quot;seriesInfo&quot;: {
557 &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.
558 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
559 &quot;shortSeriesBookTitle&quot;: &quot;A String&quot;, # Short book title in the context of the series.
560 &quot;volumeSeries&quot;: [
561 {
562 &quot;issue&quot;: [ # List of issues. Applicable only for Collection Edition and Omnibus.
563 {
564 &quot;issueDisplayNumber&quot;: &quot;A String&quot;,
565 &quot;issueOrderNumber&quot;: 42,
566 },
567 ],
568 &quot;seriesBookType&quot;: &quot;A String&quot;, # The book type in the context of series. Examples - Single Issue, Collection Edition, etc.
569 &quot;seriesId&quot;: &quot;A String&quot;, # The series id.
570 &quot;orderNumber&quot;: 42, # The book order number in the series.
571 },
572 ],
573 },
574 &quot;ratingsCount&quot;: 42, # The number of review ratings for this volume.
575 &quot;subtitle&quot;: &quot;A String&quot;, # Volume subtitle. (In LITE projection.)
576 &quot;pageCount&quot;: 42, # Total number of pages as per publisher metadata.
577 &quot;imageLinks&quot;: { # A list of image links for all the sizes that are available. (In LITE projection.)
578 &quot;medium&quot;: &quot;A String&quot;, # Image link for medium size (width of ~575 pixels). (In LITE projection)
579 &quot;extraLarge&quot;: &quot;A String&quot;, # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
580 &quot;small&quot;: &quot;A String&quot;, # Image link for small size (width of ~300 pixels). (In LITE projection)
581 &quot;large&quot;: &quot;A String&quot;, # Image link for large size (width of ~800 pixels). (In LITE projection)
582 &quot;thumbnail&quot;: &quot;A String&quot;, # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
583 &quot;smallThumbnail&quot;: &quot;A String&quot;, # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
584 },
585 &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.)
586 &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.
587 &quot;categories&quot;: [ # A list of subject categories, such as &quot;Fiction&quot;, &quot;Suspense&quot;, etc.
588 &quot;A String&quot;,
589 ],
590 &quot;publisher&quot;: &quot;A String&quot;, # Publisher of this volume. (In LITE projection.)
591 &quot;panelizationSummary&quot;: { # A top-level summary of the panelization info in this volume.
592 &quot;epubBubbleVersion&quot;: &quot;A String&quot;,
593 &quot;imageBubbleVersion&quot;: &quot;A String&quot;,
594 &quot;containsEpubBubbles&quot;: True or False,
595 &quot;containsImageBubbles&quot;: True or False,
596 },
597 &quot;allowAnonLogging&quot;: True or False, # Whether anonymous logging should be allowed.
598 &quot;printedPageCount&quot;: 42, # Total number of printed pages in generated pdf representation.
599 &quot;infoLink&quot;: &quot;A String&quot;, # URL to view information about this volume on the Google Books site. (In LITE projection)
600 &quot;printType&quot;: &quot;A String&quot;, # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
601 &quot;readingModes&quot;: { # The reading modes available for this volume.
602 &quot;image&quot;: True or False,
603 &quot;text&quot;: True or False,
604 },
605 &quot;averageRating&quot;: 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
606 },
607 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource. (In LITE projection.)
608 &quot;searchInfo&quot;: { # Search result information related to this volume.
609 &quot;textSnippet&quot;: &quot;A String&quot;, # A text snippet containing the search query.
610 },
611 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a volume. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700612 &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.).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700613 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700614 &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.)
615 &quot;embeddable&quot;: True or False, # Whether this volume can be embedded in a viewport using the Embedded Viewer API.
616 &quot;quoteSharingAllowed&quot;: True or False, # Whether quote sharing is allowed for this volume.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700617 &quot;downloadAccess&quot;: { # Information about a volume&#x27;s download license access restrictions.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700618 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700619 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700620 &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
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700621 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
622 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700623 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
624 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
625 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700626 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700627 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700628 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700629 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700630 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700631 &quot;epub&quot;: { # Information about epub content. (In LITE projection.)
632 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download epub. (In LITE projection.)
633 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for epub download. (In LITE projection.)
634 &quot;isAvailable&quot;: True or False, # Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)
635 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700636 &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.
637 &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.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700638 &quot;publicDomain&quot;: True or False, # Whether or not this book is public domain in the country listed above.
639 &quot;pdf&quot;: { # Information about pdf content. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700640 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for pdf download. (In LITE projection.)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700641 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download pdf. (In LITE projection.)
642 &quot;isAvailable&quot;: True or False, # Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700643 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700644 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700645 &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.
646 &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.
647 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700648 },
John Asmuth614db982014-04-24 15:46:26 -0400649 },
650 ],
John Asmuth614db982014-04-24 15:46:26 -0400651 }</pre>
652</div>
653
654</body></html>