blob: a23eea2e998bc98b890a25512119e142254be4bf [file] [log] [blame]
Joe Gregorio075572b2012-07-09 16:53:09 -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">
Joe Gregorio52a5c532013-01-24 16:19:07 -050083 <code><a href="books_v1.volumes.recommended.html">recommended()</a></code>
84</p>
85<p class="firstline">Returns the recommended Resource.</p>
86
87<p class="toc_element">
Joe Gregorio075572b2012-07-09 16:53:09 -040088 <code><a href="#get">get(volumeId, projection=None, source=None, country=None, partner=None)</a></code></p>
89<p class="firstline">Gets volume information for a single volume.</p>
90<p class="toc_element">
91 <code><a href="#list">list(q, orderBy=None, projection=None, showPreorders=None, download=None, startIndex=None, partner=None, source=None, maxResults=None, libraryRestrict=None, langRestrict=None, printType=None, filter=None)</a></code></p>
92<p class="firstline">Performs a book search.</p>
93<h3>Method Details</h3>
94<div class="method">
95 <code class="details" id="get">get(volumeId, projection=None, source=None, country=None, partner=None)</code>
96 <pre>Gets volume information for a single volume.
97
98Args:
99 volumeId: string, ID of volume to retrieve. (required)
100 projection: string, Restrict information returned to a set of selected fields.
101 Allowed values
102 full - Includes all volume data.
103 lite - Includes a subset of fields in volumeInfo and accessInfo.
104 source: string, String to identify the originator of this request.
105 country: string, ISO-3166-1 code to override the IP-based location.
106 partner: string, Brand results for partner ID.
107
108Returns:
109 An object of the form:
110
111 {
112 "kind": "books#volume", # Resource type for a volume. (In LITE projection.)
113 "accessInfo": { # 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.).
114 "webReaderLink": "A String", # URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes.
115 "publicDomain": True or False, # Whether or not this book is public domain in the country listed above.
116 "embeddable": True or False, # Whether this volume can be embedded in a viewport using the Embedded Viewer API.
117 "downloadAccess": { # Information about a volume's download license access restrictions.
118 "nonce": "A String", # Client nonce for verification. Download access and client-validation only.
119 "kind": "books#downloadAccessRestriction", # Resource type.
120 "justAcquired": True or False, # If deviceAllowed, whether access was just acquired with this request.
121 "maxDownloadDevices": 42, # If restricted, the maximum number of content download licenses for this volume.
122 "downloadsAcquired": 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
123 "signature": "A String", # Response signature.
124 "volumeId": "A String", # Identifies the volume for which this entry applies.
125 "deviceAllowed": True or False, # If restricted, whether access is granted for this (user, device, volume).
126 "source": "A String", # Client app identifier for verification. Download access and client-validation only.
127 "restricted": True or False, # Whether this volume has any download access restrictions.
128 "reasonCode": "A String", # 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
129 "message": "A String", # Error/warning message.
130 },
131 "country": "A String", # The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.)
132 "viewOrderUrl": "A String", # For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page.
133 "textToSpeechPermission": "A String", # Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
134 "pdf": { # Information about pdf content. (In LITE projection.)
135 "isAvailable": True or False, # Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)
136 "downloadLink": "A String", # URL to download pdf. (In LITE projection.)
137 "acsTokenLink": "A String", # URL to retrieve ACS token for pdf download. (In LITE projection.)
138 },
139 "viewability": "A String", # 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.
140 "epub": { # Information about epub content. (In LITE projection.)
141 "isAvailable": True or False, # Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)
142 "downloadLink": "A String", # URL to download epub. (In LITE projection.)
143 "acsTokenLink": "A String", # URL to retrieve ACS token for epub download. (In LITE projection.)
144 },
145 "accessViewStatus": "A String", # 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.)
146 },
147 "searchInfo": { # Search result information related to this volume.
148 "textSnippet": "A String", # A text snippet containing the search query.
149 },
150 "saleInfo": { # 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).
151 "country": "A String", # The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)
152 "retailPrice": { # 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.)
153 "amount": 3.14, # Amount in the currency listed below. (In LITE projection.)
154 "currencyCode": "A String", # An ISO 4217, three-letter currency code. (In LITE projection.)
155 },
156 "isEbook": True or False, # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
157 "saleability": "A String", # 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, FREE, NOT_FOR_SALE, or FOR_PREORDER.
158 "buyLink": "A String", # URL to purchase this volume on the Google Books site. (In LITE projection)
159 "onSaleDate": "A String", # The date on which this book is available for sale.
160 "listPrice": { # Suggested retail price. (In LITE projection.)
161 "amount": 3.14, # Amount in the currency listed below. (In LITE projection.)
162 "currencyCode": "A String", # An ISO 4217, three-letter currency code. (In LITE projection.)
163 },
164 },
165 "etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
Joe Gregorio52a5c532013-01-24 16:19:07 -0500166 "selfLink": "A String", # URL to this resource. (In LITE projection.)
Joe Gregorio075572b2012-07-09 16:53:09 -0400167 "volumeInfo": { # General volume information.
168 "publisher": "A String", # Publisher of this volume. (In LITE projection.)
169 "subtitle": "A String", # Volume subtitle. (In LITE projection.)
170 "description": "A String", # 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.)
171 "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
172 "pageCount": 42, # Total number of pages.
173 "imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
174 "medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
175 "smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
176 "large": "A String", # Image link for large size (width of ~800 pixels). (In LITE projection)
177 "extraLarge": "A String", # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
178 "small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
179 "thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
180 },
181 "publishedDate": "A String", # Date of publication. (In LITE projection.)
182 "previewLink": "A String", # URL to preview this volume on the Google Books site.
183 "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
184 "ratingsCount": 42, # The number of review ratings for this volume.
185 "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
186 "dimensions": { # Physical dimensions of this volume.
187 "width": "A String", # Width of this volume (in cm).
188 "thickness": "A String", # Thickness of this volume (in cm).
189 "height": "A String", # Height or length of this volume (in cm).
190 },
191 "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
192 "industryIdentifiers": [ # Industry standard identifiers for this volume.
193 {
194 "identifier": "A String", # Industry specific volume identifier.
195 "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
196 },
197 ],
198 "authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
199 "A String",
200 ],
201 "title": "A String", # Volume title. (In LITE projection.)
202 "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
203 "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
204 "categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
205 "A String",
206 ],
207 "averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
208 },
Joe Gregorio52a5c532013-01-24 16:19:07 -0500209 "recommendedInfo": { # Recommendation related information for this volume.
210 "explanation": "A String", # A text explaining why this volume is recommended.
211 },
Joe Gregorio075572b2012-07-09 16:53:09 -0400212 "id": "A String", # Unique identifier for a volume. (In LITE projection.)
Joe Gregorio52a5c532013-01-24 16:19:07 -0500213 "layerInfo": { # What layers exist in this volume and high level information about them.
214 "layers": [ # A layer should appear here if and only if the layer exists for this book.
215 {
216 "volumeAnnotationsVersion": "A String", # The current version of this layer'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.
217 "layerId": "A String", # The layer id of this layer (e.g. "geo").
218 },
219 ],
220 },
221 "userInfo": { # User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
222 "isInMyBooks": True or False, # Whether or not this volume is currently in "my books."
223 "updated": "A String", # 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 "review": { # This user's review of this volume, if one exists.
225 "rating": "A String", # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.
226 "kind": "books#review", # Resource type for a review.
227 "author": { # Author of this review.
228 "displayName": "A String", # Name of this person.
229 },
230 "title": "A String", # Title for this review.
231 "volumeId": "A String", # Volume that this review is for.
232 "content": "A String", # Review text.
233 "source": { # Information regarding the source of this review, when the review is not from a Google Books user.
234 "extraDescription": "A String", # Extra text about the source of the review.
235 "url": "A String", # URL of the source of the review.
236 "description": "A String", # Name of the source.
237 },
238 "date": "A String", # Date of this review.
239 "type": "A String", # Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.
240 "fullTextUrl": "A String", # URL for the full review text, for reviews gathered from the web.
241 },
242 "isPurchased": True or False, # Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
243 "readingPosition": { # The user's current reading position in the volume, if one is available. (In LITE projection.)
244 "kind": "books#readingPosition", # Resource type for a reading position.
245 "gbImagePosition": "A String", # Position in a volume for image-based content.
246 "epubCfiPosition": "A String", # Position in an EPUB as a CFI.
247 "updated": "A String", # Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).
248 "volumeId": "A String", # Volume id associated with this reading position.
249 "pdfPosition": "A String", # Position in a PDF file.
250 "gbTextPosition": "A String", # Position in a volume for text-based content.
251 },
252 "isPreordered": True or False, # Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
253 },
Joe Gregorio075572b2012-07-09 16:53:09 -0400254 }</pre>
255</div>
256
257<div class="method">
258 <code class="details" id="list">list(q, orderBy=None, projection=None, showPreorders=None, download=None, startIndex=None, partner=None, source=None, maxResults=None, libraryRestrict=None, langRestrict=None, printType=None, filter=None)</code>
259 <pre>Performs a book search.
260
261Args:
262 q: string, Full-text search query string. (required)
263 orderBy: string, Sort search results.
264 Allowed values
265 newest - Most recently published.
266 relevance - Relevance to search terms.
267 projection: string, Restrict information returned to a set of selected fields.
268 Allowed values
269 full - Includes all volume data.
270 lite - Includes a subset of fields in volumeInfo and accessInfo.
271 showPreorders: boolean, Set to true to show books available for preorder. Defaults to false.
272 download: string, Restrict to volumes by download availability.
273 Allowed values
274 epub - All volumes with epub.
275 startIndex: integer, Index of the first result to return (starts at 0)
276 partner: string, Restrict and brand results for partner ID.
277 source: string, String to identify the originator of this request.
278 maxResults: integer, Maximum number of results to return.
279 libraryRestrict: string, Restrict search to this user's library.
280 Allowed values
281 my-library - Restrict to the user's library, any shelf.
282 no-restrict - Do not restrict based on user's library.
283 langRestrict: string, Restrict results to books with this language code.
284 printType: string, Restrict to books or magazines.
285 Allowed values
286 all - All volume content types.
287 books - Just books.
288 magazines - Just magazines.
289 filter: string, Filter search results.
290 Allowed values
291 ebooks - All Google eBooks.
292 free-ebooks - Google eBook with full volume text viewability.
293 full - Public can view entire volume text.
294 paid-ebooks - Google eBook with a price.
295 partial - Public able to see parts of text.
296
297Returns:
298 An object of the form:
299
300 {
301 "totalItems": 42, # Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated.
302 "items": [ # A list of volumes.
303 {
304 "kind": "books#volume", # Resource type for a volume. (In LITE projection.)
305 "accessInfo": { # 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.).
306 "webReaderLink": "A String", # URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes.
307 "publicDomain": True or False, # Whether or not this book is public domain in the country listed above.
308 "embeddable": True or False, # Whether this volume can be embedded in a viewport using the Embedded Viewer API.
309 "downloadAccess": { # Information about a volume's download license access restrictions.
310 "nonce": "A String", # Client nonce for verification. Download access and client-validation only.
311 "kind": "books#downloadAccessRestriction", # Resource type.
312 "justAcquired": True or False, # If deviceAllowed, whether access was just acquired with this request.
313 "maxDownloadDevices": 42, # If restricted, the maximum number of content download licenses for this volume.
314 "downloadsAcquired": 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
315 "signature": "A String", # Response signature.
316 "volumeId": "A String", # Identifies the volume for which this entry applies.
317 "deviceAllowed": True or False, # If restricted, whether access is granted for this (user, device, volume).
318 "source": "A String", # Client app identifier for verification. Download access and client-validation only.
319 "restricted": True or False, # Whether this volume has any download access restrictions.
320 "reasonCode": "A String", # 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
321 "message": "A String", # Error/warning message.
322 },
323 "country": "A String", # The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.)
324 "viewOrderUrl": "A String", # For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page.
325 "textToSpeechPermission": "A String", # Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
326 "pdf": { # Information about pdf content. (In LITE projection.)
327 "isAvailable": True or False, # Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)
328 "downloadLink": "A String", # URL to download pdf. (In LITE projection.)
329 "acsTokenLink": "A String", # URL to retrieve ACS token for pdf download. (In LITE projection.)
330 },
331 "viewability": "A String", # 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.
332 "epub": { # Information about epub content. (In LITE projection.)
333 "isAvailable": True or False, # Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)
334 "downloadLink": "A String", # URL to download epub. (In LITE projection.)
335 "acsTokenLink": "A String", # URL to retrieve ACS token for epub download. (In LITE projection.)
336 },
337 "accessViewStatus": "A String", # 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.)
338 },
339 "searchInfo": { # Search result information related to this volume.
340 "textSnippet": "A String", # A text snippet containing the search query.
341 },
342 "saleInfo": { # 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).
343 "country": "A String", # The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)
344 "retailPrice": { # 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.)
345 "amount": 3.14, # Amount in the currency listed below. (In LITE projection.)
346 "currencyCode": "A String", # An ISO 4217, three-letter currency code. (In LITE projection.)
347 },
348 "isEbook": True or False, # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
349 "saleability": "A String", # 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, FREE, NOT_FOR_SALE, or FOR_PREORDER.
350 "buyLink": "A String", # URL to purchase this volume on the Google Books site. (In LITE projection)
351 "onSaleDate": "A String", # The date on which this book is available for sale.
352 "listPrice": { # Suggested retail price. (In LITE projection.)
353 "amount": 3.14, # Amount in the currency listed below. (In LITE projection.)
354 "currencyCode": "A String", # An ISO 4217, three-letter currency code. (In LITE projection.)
355 },
356 },
357 "etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
Joe Gregorio52a5c532013-01-24 16:19:07 -0500358 "selfLink": "A String", # URL to this resource. (In LITE projection.)
Joe Gregorio075572b2012-07-09 16:53:09 -0400359 "volumeInfo": { # General volume information.
360 "publisher": "A String", # Publisher of this volume. (In LITE projection.)
361 "subtitle": "A String", # Volume subtitle. (In LITE projection.)
362 "description": "A String", # 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.)
363 "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
364 "pageCount": 42, # Total number of pages.
365 "imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
366 "medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
367 "smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
368 "large": "A String", # Image link for large size (width of ~800 pixels). (In LITE projection)
369 "extraLarge": "A String", # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
370 "small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
371 "thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
372 },
373 "publishedDate": "A String", # Date of publication. (In LITE projection.)
374 "previewLink": "A String", # URL to preview this volume on the Google Books site.
375 "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
376 "ratingsCount": 42, # The number of review ratings for this volume.
377 "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
378 "dimensions": { # Physical dimensions of this volume.
379 "width": "A String", # Width of this volume (in cm).
380 "thickness": "A String", # Thickness of this volume (in cm).
381 "height": "A String", # Height or length of this volume (in cm).
382 },
383 "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
384 "industryIdentifiers": [ # Industry standard identifiers for this volume.
385 {
386 "identifier": "A String", # Industry specific volume identifier.
387 "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
388 },
389 ],
390 "authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
391 "A String",
392 ],
393 "title": "A String", # Volume title. (In LITE projection.)
394 "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
395 "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
396 "categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
397 "A String",
398 ],
399 "averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
400 },
Joe Gregorio52a5c532013-01-24 16:19:07 -0500401 "recommendedInfo": { # Recommendation related information for this volume.
402 "explanation": "A String", # A text explaining why this volume is recommended.
403 },
Joe Gregorio075572b2012-07-09 16:53:09 -0400404 "id": "A String", # Unique identifier for a volume. (In LITE projection.)
Joe Gregorio52a5c532013-01-24 16:19:07 -0500405 "layerInfo": { # What layers exist in this volume and high level information about them.
406 "layers": [ # A layer should appear here if and only if the layer exists for this book.
407 {
408 "volumeAnnotationsVersion": "A String", # The current version of this layer'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.
409 "layerId": "A String", # The layer id of this layer (e.g. "geo").
410 },
411 ],
412 },
413 "userInfo": { # User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
414 "isInMyBooks": True or False, # Whether or not this volume is currently in "my books."
415 "updated": "A String", # 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).
416 "review": { # This user's review of this volume, if one exists.
417 "rating": "A String", # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.
418 "kind": "books#review", # Resource type for a review.
419 "author": { # Author of this review.
420 "displayName": "A String", # Name of this person.
421 },
422 "title": "A String", # Title for this review.
423 "volumeId": "A String", # Volume that this review is for.
424 "content": "A String", # Review text.
425 "source": { # Information regarding the source of this review, when the review is not from a Google Books user.
426 "extraDescription": "A String", # Extra text about the source of the review.
427 "url": "A String", # URL of the source of the review.
428 "description": "A String", # Name of the source.
429 },
430 "date": "A String", # Date of this review.
431 "type": "A String", # Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.
432 "fullTextUrl": "A String", # URL for the full review text, for reviews gathered from the web.
433 },
434 "isPurchased": True or False, # Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
435 "readingPosition": { # The user's current reading position in the volume, if one is available. (In LITE projection.)
436 "kind": "books#readingPosition", # Resource type for a reading position.
437 "gbImagePosition": "A String", # Position in a volume for image-based content.
438 "epubCfiPosition": "A String", # Position in an EPUB as a CFI.
439 "updated": "A String", # Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).
440 "volumeId": "A String", # Volume id associated with this reading position.
441 "pdfPosition": "A String", # Position in a PDF file.
442 "gbTextPosition": "A String", # Position in a volume for text-based content.
443 },
444 "isPreordered": True or False, # Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
445 },
Joe Gregorio075572b2012-07-09 16:53:09 -0400446 },
447 ],
448 "kind": "books#volumes", # Resource type.
449 }</pre>
450</div>
451
452</body></html>