वॉल्यूम: सूची
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किताब खोजता है.
इसे अभी आज़माएं.
अनुरोध
एचटीटीपी अनुरोध
GET https://www.googleapis.com/books/v1/volumes?q={search terms}
पैरामीटर
पैरामीटर का नाम |
मान |
ब्यौरा |
ज़रूरी पैरामीटर |
q |
string |
पूरे टेक्स्ट की खोज क्वेरी स्ट्रिंग.
|
वैकल्पिक पैरामीटर |
download |
string |
डाउनलोड की उपलब्धता के हिसाब से वॉल्यूम तक सीमित करें.
इन वैल्यू का इस्तेमाल किया जा सकता है:
- "
epub " - सभी वॉल्यूम, epub फ़ॉर्मैट में.
|
filter |
string |
खोज के नतीजों को फ़िल्टर करें.
इन वैल्यू का इस्तेमाल किया जा सकता है:
- "
ebooks " - Google की सभी ई-बुक.
- "
free-ebooks " - Google eBook, जिसमें पूरे वॉल्यूम का टेक्स्ट दिखता है.
- "
full " - सार्वजनिक लोग वॉल्यूम का पूरा टेक्स्ट देख सकते हैं.
- "
paid-ebooks " - कीमत वाली Google ई-बुक.
- "
partial " - सार्वजनिक लोग टेक्स्ट के कुछ हिस्से देख सकते हैं.
|
langRestrict |
string |
नतीजों में सिर्फ़ इस भाषा कोड वाली किताबें दिखाएं.
|
libraryRestrict |
string |
खोज को इस उपयोगकर्ता की लाइब्रेरी तक सीमित करें.
ये वैल्यू स्वीकार की जाती हैं:
- "
my-library " - उपयोगकर्ता की लाइब्रेरी या किसी शेल्फ़ तक सीमित करें.
- "
no-restrict " - उपयोगकर्ता की लाइब्रेरी के आधार पर पाबंदी न लगाएं.
|
maxResults |
unsigned integer |
दिए जाने वाले नतीजों की ज़्यादा से ज़्यादा संख्या.
0 से 40 तक की वैल्यू ही इस्तेमाल की जा सकती हैं.
|
orderBy |
string |
खोज के नतीजों को क्रम से लगाना.
ये वैल्यू स्वीकार की जाती हैं:
- "
newest " - हाल ही में पब्लिश किया गया.
- "
relevance " - खोज के लिए इस्तेमाल हुए शब्दों से मिलता-जुलता होना.
|
partner |
string |
पार्टनर आईडी के लिए, नतीजों पर पाबंदी लगाएं और उन्हें ब्रैंड करें.
|
printType |
string |
किताबों या पत्रिकाओं पर पाबंदी लगाएं.
इन वैल्यू का इस्तेमाल किया जा सकता है:
- "
all " - वॉल्यूम कॉन्टेंट के सभी टाइप.
- "
books " - सिर्फ़ किताबें.
- "
magazines " - सिर्फ़ पत्रिकाएं.
|
projection |
string |
चुने गए फ़ील्ड के सेट में दिखाई गई जानकारी पर पाबंदी लगाएं.
इन वैल्यू का इस्तेमाल किया जा सकता है:
- "
full " - इसमें वॉल्यूम का पूरा डेटा शामिल होता है.
- "
lite " - इसमें volumeInfo और accessInfo में फ़ील्ड का सबसेट शामिल होता है.
|
showPreorders |
boolean |
पहले से ऑर्डर करने के लिए उपलब्ध किताबें दिखाने के लिए, इसे 'सही है' पर सेट करें. डिफ़ॉल्ट रूप से, यह 'गलत' पर सेट होती है.
|
source |
string |
इस अनुरोध को भेजने वाले व्यक्ति की पहचान करने के लिए स्ट्रिंग.
|
startIndex |
unsigned integer |
दिए जाने वाले पहले नतीजे का इंडेक्स (0 से शुरू होता है)
|
अनुरोध का मुख्य भाग
इस तरीके का इस्तेमाल करते समय, अनुरोध का मुख्य हिस्सा न दें.
जवाब
अगर एपीआई सही से जुड़ जाता है, तो यह तरीका इस स्ट्रक्चर के साथ रिस्पॉन्स बॉडी दिखाता है:
{
"kind": "books#volumes",
"items": [
volume Resource
],
"totalItems": (value)
}
प्रॉपर्टी का नाम |
मान |
ब्यौरा |
नोट |
kind |
string |
संसाधन का टाइप. |
|
items[] |
list |
वॉल्यूम की सूची. |
|
totalItems |
integer |
मिले वॉल्यूम की कुल संख्या. अगर नतीजों को पेज के हिसाब से बांटा गया है, तो यह संख्या इस जवाब में दिखाए गए वॉल्यूम की संख्या से ज़्यादा हो सकती है. |
|
इसे आज़माएं!
लाइव डेटा पर इस तरीके को कॉल करने और जवाब देखने के लिए, नीचे दिए गए एक्सप्लोरर का इस्तेमाल करें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eSearches for books based on a provided query string.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by criteria such as availability, format, language, and publication type.\u003c/p\u003e\n"],["\u003cp\u003eOffers control over the number of results, sorting order, and specific data fields returned.\u003c/p\u003e\n"],["\u003cp\u003eCan be used to retrieve information about books, including volume details and access options.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination to handle large result sets.\u003c/p\u003e\n"]]],[],null,["# Volume: list\n\nPerforms a book search.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP Request\n\n GET https://www.googleapis.com/books/v1/volumes?q={search terms}\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|-------------------|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Required Parameters** |||\n| `q` | `string` | Full-text search query string. |\n| **Optional Parameters** |||\n| `download` | `string` | Restrict to volumes by download availability. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`epub`\" - All volumes with epub. |\n| `filter` | `string` | Filter search results. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`ebooks`\" - All Google eBooks. - \"`free-ebooks`\" - Google eBook with full volume text viewability. - \"`full`\" - Public can view entire volume text. - \"`paid-ebooks`\" - Google eBook with a price. - \"`partial`\" - Public able to see parts of text. |\n| `langRestrict` | `string` | Restrict results to books with this language code. |\n| `libraryRestrict` | `string` | Restrict search to this user's library. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`my-library`\" - Restrict to the user's library, any shelf. - \"`no-restrict`\" - Do not restrict based on user's library. |\n| `maxResults` | `unsigned integer` | Maximum number of results to return. Acceptable values are `0` to `40`, inclusive. |\n| `orderBy` | `string` | Sort search results. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`newest`\" - Most recently published. - \"`relevance`\" - Relevance to search terms. |\n| `partner` | `string` | Restrict and brand results for partner ID. |\n| `printType` | `string` | Restrict to books or magazines. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`all`\" - All volume content types. - \"`books`\" - Just books. - \"`magazines`\" - Just magazines. |\n| `projection` | `string` | Restrict information returned to a set of selected fields. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`full`\" - Includes all volume data. - \"`lite`\" - Includes a subset of fields in volumeInfo and accessInfo. |\n| `showPreorders` | `boolean` | Set to true to show books available for preorder. Defaults to false. |\n| `source` | `string` | String to identify the originator of this request. |\n| `startIndex` | `unsigned integer` | Index of the first result to return (starts at 0) |\n\n### Request Body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n {\n \"kind\": \"books#volumes\",\n \"items\": [\n volume Resource\n ],\n \"totalItems\": (value)\n }\n\n| Property Name | Value | Description | Notes |\n|---------------|-----------|-------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `kind` | `string` | Resource type. | |\n| `items[]` | `list` | A list of volumes. | |\n| `totalItems` | `integer` | Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated. | |\n\nTry It!\n-------\n\n\nUse the explorer below to call this method on live data and see the response."]]