Integrate GoogleBookSearch into a PHP application

Source: Internet
Author: User
GoogleBooks allows Web application developers to access the list of books and metadata through their REST-based APIs. The Gdata module of ZendFramework can process XML feeds generated by this API and use Google

Introduction

If you have some connection with the publishing industry, or even if you are just an enthusiastic reader, you may have heard of Google Books. Google Books is Google's attempt to create a searchable digital library by scanning millions of Books and enabling them to preview and purchase them online. This is also one of Google's most controversial projects and is the focus of a collective lawsuit that was closed in November 2009 recently.

In addition to being an interesting chat topic, Google Books has become interesting since it has Data APIs. This API allows developers to read and search for Google Books databases, search for Books matching user-specified standards, and use these search results in other Web applications. You can use any SDKs that support XML to access this API that follows the REST model. This API already has™And other common programming languages.

This article will introduce you to the Google Book Search Data API and show you how to use and integrate the Book Search results in a custom PHP application. This article contains examples to show how to search for books by keyword, language, and author, search for book data (including ISBN numbers and thumbnails), and add comments and ratings to existing books in the database. Come on, let's start now!

Understanding Book Search overview

Before starting the PHP code, you must first introduce the Google Book Search Data API. Like other REST-based services, this API accepts HTTP requests that contain one or more XML-encoded input parameters, and return the XML encoding response that can be parsed in any XML-aware client. For the Google Book Search Data API, the response always contains an Atom feed, which contains the request information.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.