Обзор
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
API-интерфейсы семейства API Google Книг позволяют использовать функции Google Книг на своем сайте или в приложении. Новый API Google Книг позволяет программно выполнять большинство операций, которые вы можете выполнять в интерактивном режиме на веб-сайте Google Книг. API Embedded Viewer позволяет встраивать контент непосредственно на ваш сайт.
В Google мы постоянно стремимся сделать информацию доступной как можно большему количеству людей, и наши API были разработаны с учетом этой цели. Однако мы лицензируем большую часть данных, которые используем для работы Google Книги, поэтому мы не можем распространять их по своему усмотрению.
API не предназначен для использования в качестве замены коммерческих услуг. Эти сервисы очень ценны, и Google также полагается на них при создании собственных API для широкой публики.
Условия использования Google для использования API доступны по адресу https://developer.google.com/books/terms.html . Мы приостановим доступ пользователя к API, если пользователь нарушит Условия обслуживания и не предпримет действий по устранению нарушения после уведомления Google о нарушении.
Книги API v1 (экспериментальный)
Новый API Google Книг v1 предоставляет вам программный доступ ко многим операциям, доступным на веб-сайте Google Книг. Вы можете использовать его для создания мощных приложений, обеспечивающих более глубокую интеграцию с Google Книгами. Некоторые из основных функций, предоставляемых API:
- искать и просматривать список книг, соответствующих заданному запросу.
- просмотреть информацию о книге, включая метаданные, наличие и цену, ссылки на страницу предварительного просмотра.
- управляйте своими собственными книжными полками.
Хорошим первым шагом в изучении API является страница «Начало работы» . В нем объясняются основные концепции, которые использует API, и описываются основные принципы взаимодействия, которым следует API. Подробное описание всех операций, поддерживаемых API, приведено на странице «Использование API» .
API встроенного средства просмотра
API Embedded Viewer позволяет встраивать содержимое книги из Google Книг непосредственно на ваши веб-страницы с помощью JavaScript. Это позволяет вам создавать собственный пользовательский опыт на основе предварительного просмотра книг. Добавить функцию предварительного просмотра книг на свой сайт относительно просто, хотя для этого требуются некоторые знания HTML и JavaScript. В Руководстве разработчика объясняется, как API можно загрузить с помощью загрузчика Google AJAX и перенести в определенный контейнер на вашей странице. После добавления встроенного средства просмотра на веб-страницу им можно управлять с помощью функций JavaScript . Это позволяет выполнять действия, аналогичные тем, что пользователь может делать, нажимая на элементы управления: можно перейти на следующую страницу, увеличить или уменьшить масштаб, выделить условия поиска и так далее. Вы также можете получить номер текущей страницы, что позволит вашему коду реагировать на перемещение пользователя по книге. | |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-30 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2024-10-30 UTC."],[[["\u003cp\u003eThe Google Books APIs allow you to integrate Google Books features, such as searching, browsing, and embedding book content, into your website or application.\u003c/p\u003e\n"],["\u003cp\u003eThe Books API provides programmatic access to book information, including metadata, availability, and pricing, enabling you to build book-related applications.\u003c/p\u003e\n"],["\u003cp\u003eThe Embedded Viewer API enables you to embed book previews directly into your web pages, offering customizable user experiences around book content.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Books APIs are subject to the Google Terms of Service, and misuse may lead to suspension of access.\u003c/p\u003e\n"]]],[],null,["# Overview\n\nThe APIs in the Google Books API Family let you bring [Google Books](https://books.google.com/) features to your site or application.\n\nThe new [Google Books API](#books_api_v1) lets you perform programmatically most of the operations that you can do interactively on the\nGoogle Books website. The [Embedded Viewer API](#embedded_viewer_api) lets you embed the content directly into your site.\n\nAt Google, we're constantly striving to make information available to as\nmany people as possible, and our APIs were designed with that goal in mind.\nHowever, we license much of the data that we use to power Google Books, so\nit's not ours to distribute however we choose.\n\nThe API is not intended to be used as a replacement for commercial services.\nThese services are valuable and Google also relies upon them to build our\nown APIs for the general public.\n\nThe Google Terms of Service for use of the APIs is available at [https://developer.google.com/books/terms.html](/books/terms). We will suspend a user's access to the APIs if a user violates the Terms of Service and does not take action to remedy the violation after notice of violation by Google.\n\nBooks API v1 (Experimental)\n---------------------------\n\nThe new Google Books API v1 gives you programmatic access to many of the operations available on Google Books website. You can use it to\ncreate powerful applications that provide deeper integration with Google Books. Some of the main features that the API provides are:\n\n- search and browse through the list of books that match a given query.\n- view information about a book, including metadata, availability and price, links to the preview page.\n- manage your own bookshelves.\n\nA good first step in learning about the API is the [Getting Started](/books/docs/v1/getting_started) page. It explains the basic\nconcepts that the API uses and describes the basic interaction principles that the API follows. A comprehensive description of all the operations\nsupported by the API is given in the [Using the API](/books/docs/v1/using) page.\n\nEmbedded Viewer API\n-------------------\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|\n| The Embedded Viewer API lets you embed book content from Google Books directly in your web pages with JavaScript. It allows you to build your own user experience around book previews. Adding book preview functionality to your site is relatively simple, though it does require some knowledge of HTML and JavaScript. The [Developer's Guide](/books/docs/viewer/developers_guide) explains how the API can be loaded using the Google AJAX loader and drawn into a particular container on your page. Once the embedded viewer has been added to a webpage, it can be controlled using [JavaScript functions](/books/docs/viewer/reference). This allows you to perform actions similar to what the user can do by clicking on the controls: you can go to the next page, zoom in or out, highlight search terms, and so on. You are also able to get the current page number, allowing your code react as the user navigates through the book. | [](/books/docs/viewer/examples/book-simple) |"]]