ปริมาณ: รับ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ดึงข้อมูลทรัพยากรของวอลุ่มตามรหัส
ลองใช้เลย
ดูข้อมูลเพิ่มเติมเกี่ยวกับรหัสผู้ใช้ได้ในส่วนรหัส Google Books
ส่งคำขอ
คำขอ HTTP
GET https://www.googleapis.com/books/v1/volumes/volumeId
พารามิเตอร์
ชื่อพารามิเตอร์ |
ค่า |
คำอธิบาย |
พารามิเตอร์ที่จำเป็น |
volumeId |
string |
รหัสของวอลุ่มที่จะดึงข้อมูล
|
พารามิเตอร์ที่ไม่บังคับ |
partner |
string |
ผลลัพธ์ของแบรนด์สำหรับรหัสพาร์ทเนอร์
|
projection |
string |
จำกัดข้อมูลที่ส่งคืนไปยังชุดของช่องที่เลือก
ค่าที่ยอมรับได้ มีดังนี้
- "
full " - รวมข้อมูลปริมาณทั้งหมด
- "
lite " - รวมชุดย่อยของฟิลด์ใน volumeInfo และ accessInfo
|
source |
string |
สตริงสำหรับระบุผู้สร้างคำขอนี้
|
เนื้อความของคำขอ
โปรดอย่าให้เนื้อหาคำขอด้วยวิธีนี้
ลองเลย
ใช้เครื่องมือสํารวจด้านล่างเพื่อเรียกใช้เมธอดนี้กับข้อมูลจริงและดูคําตอบ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-08 UTC
[null,null,["อัปเดตล่าสุด 2024-11-08 UTC"],[[["\u003cp\u003eRetrieves a specific book volume's information using its unique ID.\u003c/p\u003e\n"],["\u003cp\u003eRequest this information by sending a GET request to the specified URL with the volume ID.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, you can customize the request to include a partner ID, select specific fields to be returned, and identify the request's source.\u003c/p\u003e\n"],["\u003cp\u003eThe response, upon success, provides comprehensive details about the requested volume as defined in the Volume resource.\u003c/p\u003e\n"],["\u003cp\u003eExperiment with the API using the provided explorer for live data interaction and response visualization.\u003c/p\u003e\n"]]],[],null,["# Volume: get\n\nRetrieves a [Volume resource](/books/docs/v1/reference/volumes) based on ID.\n[Try it now](#try-it).\n\nMore information about user IDs can be found in the section [Google Books IDs](/books/docs/v1/using#ids).\n\nRequest\n-------\n\n### HTTP Request\n\n```\nGET https://www.googleapis.com/books/v1/volumes/volumeId\n```\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|----------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Required Parameters** |||\n| `volumeId` | `string` | ID of volume to retrieve. |\n| **Optional Parameters** |||\n| `partner` | `string` | Brand results for partner ID. |\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| `source` | `string` | String to identify the originator of this request. |\n\n### Request Body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a [Volume resource](/books/docs/v1/reference/volumes#resource) in the response body.\n\nTry It!\n-------\n\n\nUse the explorer below to call this method on live data and see the response."]]