نمای کلی
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
API های موجود در خانواده Google Books API به شما امکان می دهند ویژگی های Google Books را به سایت یا برنامه خود بیاورید. Google Books API جدید به شما امکان می دهد اکثر عملیاتی را که می توانید به صورت تعاملی در وب سایت Google Books انجام دهید، به صورت برنامه نویسی انجام دهید. Embedded Viewer API به شما امکان می دهد محتوا را مستقیماً در سایت خود جاسازی کنید.
در Google، ما دائماً در تلاش هستیم تا اطلاعات را تا حد امکان در دسترس افراد قرار دهیم، و APIهای ما با این هدف طراحی شدهاند. با این حال، ما مجوز بسیاری از دادههایی را که برای تقویت Google Books استفاده میکنیم، داریم، بنابراین توزیع هر طور که میخواهیم به عهده ما نیست.
API قرار نیست به عنوان جایگزینی برای خدمات تجاری استفاده شود. این سرویسها ارزشمند هستند و Google نیز برای ایجاد APIهای خود برای عموم مردم به آنها متکی است.
شرایط خدمات Google برای استفاده از APIها در https://developer.google.com/books/terms.html موجود است. اگر کاربری شرایط خدمات را نقض کند و پس از اطلاع از نقض توسط Google اقدامی برای رفع تخلف انجام ندهد، دسترسی کاربر به APIها را به حالت تعلیق در میآوریم.
Books API v1 (تجربی)
Google Books API v1 جدید به شما امکان دسترسی برنامهریزی به بسیاری از عملیات موجود در وبسایت Google Books را میدهد. میتوانید از آن برای ایجاد برنامههای قدرتمند استفاده کنید که ادغام عمیقتری با Google Books فراهم میکنند. برخی از ویژگی های اصلی که API ارائه می دهد عبارتند از:
- فهرست کتابهایی را که با یک جستار معین مطابقت دارند، جستجو و مرور کنید.
- مشاهده اطلاعات مربوط به یک کتاب، از جمله ابرداده، در دسترس بودن و قیمت، پیوندها به صفحه پیش نمایش.
- قفسه های کتاب خود را مدیریت کنید
اولین قدم خوب برای یادگیری در مورد API صفحه شروع است. مفاهیم اولیه ای که API استفاده می کند را توضیح می دهد و اصول تعامل اولیه ای را که API از آنها پیروی می کند، تشریح می کند. شرح جامعی از تمام عملیات پشتیبانی شده توسط API در صفحه استفاده از API ارائه شده است.
Embedded Viewer API
Embedded Viewer API به شما امکان می دهد محتوای کتاب را از Google Books مستقیماً در صفحات وب خود با جاوا اسکریپت جاسازی کنید. این به شما اجازه می دهد تا تجربه کاربری خود را بر اساس پیش نمایش کتاب ایجاد کنید. افزودن قابلیت پیش نمایش کتاب به سایت شما نسبتاً ساده است، اگرچه نیاز به دانش HTML و جاوا اسکریپت دارد. راهنمای توسعهدهنده توضیح میدهد که چگونه میتوان API را با استفاده از بارکننده Google AJAX بارگیری کرد و در یک ظرف خاص در صفحه شما کشید. هنگامی که نمایشگر تعبیه شده به یک صفحه وب اضافه شد، می توان آن را با استفاده از توابع جاوا اسکریپت کنترل کرد. این به شما امکان میدهد تا کارهایی مشابه آنچه کاربر میتواند با کلیک کردن روی کنترلها انجام دهد انجام دهید: میتوانید به صفحه بعدی بروید، بزرگنمایی یا کوچکنمایی کنید، عبارتهای جستجو را برجسته کنید، و غیره. شما همچنین میتوانید شماره صفحه فعلی را دریافت کنید و به کد شما اجازه میدهد هنگام حرکت کاربر در کتاب واکنش نشان دهد. | |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["\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) |"]]