Wolumin: pobierz
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pobiera zasob Volume na podstawie identyfikatora.
Wypróbuj teraz
Więcej informacji o identyfikatorach użytkowników znajdziesz w sekcji Identyfikatory Książek Google.
Żądanie
Żądanie HTTP
GET https://www.googleapis.com/books/v1/volumes/volumeId
Parametry
Nazwa parametru |
Wartość |
Opis |
Parametry wymagane |
volumeId |
string |
Identyfikator woluminu do pobrania.
|
Parametry opcjonalne |
partner |
string |
Wyniki wyszukiwania marki dla identyfikatora partnera.
|
projection |
string |
Ograniczenie zwracania informacji do zbioru wybranych pól.
Akceptowane wartości:
- „
full ” – obejmuje wszystkie dane o wolumenie.
- „
lite ” – zawiera podzbiór pól w polachVolumeInfo i accessInfo.
|
source |
string |
Ciąg znaków identyfikujący nadawcę żądania.
|
Treść żądania
W przypadku tej metody nie podawaj treści żądania.
Odpowiedź
Jeśli operacja się powiedzie, metoda zwróci w treści odpowiedzi zasob Volume.
Wypróbuj
Aby wywołać tę metodę na danych na żywo i zobaczyć odpowiedź, użyj eksploratora poniżej.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-08 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]