google books api 获取图书信息

如何获取图书的信息,google提供了获取图书信息的api.

 

https://www.googleapis.com/books/v1/volumes?q=isbn:9781492097334

https://www.googleapis.com/books/v1/volumes?q=isbn:9781498711395

返回JSON格式的信息:

{
  "kind": "books#volumes",
  "totalItems": 1,
  "items": [
    {
      "kind": "books#volume",
      "id": "ITU_MQAACAAJ",
      "etag": "mkFAnha2L2M",
      "selfLink": "https://www.googleapis.com/books/v1/volumes/ITU_MQAACAAJ",
      "volumeInfo": {
        "title": "Handbook of Discrete and Computational Geometry",
        "authors": [
          "Csaba D. Tóth",
          "Jacob E. Goodman",
          "Joseph O'Rourke"
        ],
        "publisher": "Chapman & Hall/CRC",
        "publishedDate": "2017",
        "description": "The book offers the most important results and methods in discrete and computational geometry to those who use them in their work, both in the academic world and the professional world. This synthesis between discrete and computational geometry lies at the heart of this Handbook.",
        "industryIdentifiers": [
          {
            "type": "ISBN_10",
            "identifier": "1498711391"
          },
          {
            "type": "ISBN_13",
            "identifier": "9781498711395"
          }
        ],
        "readingModes": {
          "text": false,
          "image": false
        },
        "pageCount": 0,
        "printType": "BOOK",
        "categories": [
          "Combinatorial geometry"
        ],
        "averageRating": 5,
        "ratingsCount": 1,
        "maturityRating": "NOT_MATURE",
        "allowAnonLogging": false,
        "contentVersion": "preview-1.0.0",
        "panelizationSummary": {
          "containsEpubBubbles": false,
          "containsImageBubbles": false
        },
        "imageLinks": {
          "smallThumbnail": "http://books.google.com/books/content?id=ITU_MQAACAAJ&printsec=frontcover&img=1&zoom=5&source=gbs_api",
          "thumbnail": "http://books.google.com/books/content?id=ITU_MQAACAAJ&printsec=frontcover&img=1&zoom=1&source=gbs_api"
        },
        "language": "en",
        "previewLink": "http://books.google.co.jp/books?id=ITU_MQAACAAJ&dq=isbn:9781498711395&hl=&cd=1&source=gbs_api",
        "infoLink": "http://books.google.co.jp/books?id=ITU_MQAACAAJ&dq=isbn:9781498711395&hl=&source=gbs_api",
        "canonicalVolumeLink": "https://books.google.com/books/about/Handbook_of_Discrete_and_Computational_G.html?hl=&id=ITU_MQAACAAJ"
      },
      "saleInfo": {
        "country": "JP",
        "saleability": "NOT_FOR_SALE",
        "isEbook": false
      },
      "accessInfo": {
        "country": "JP",
        "viewability": "NO_PAGES",
        "embeddable": false,
        "publicDomain": false,
        "textToSpeechPermission": "ALLOWED",
        "epub": {
          "isAvailable": false
        },
        "pdf": {
          "isAvailable": false
        },
        "webReaderLink": "http://play.google.com/books/reader?id=ITU_MQAACAAJ&hl=&source=gbs_api",
        "accessViewStatus": "NONE",
        "quoteSharingAllowed": false
      },
      "searchInfo": {
        "textSnippet": "This synthesis between discrete and computational geometry lies at the heart of this Handbook."
      }
    }
  ]
}

 

posted @ 2024-06-18 23:25  profesor  阅读(67)  评论(0编辑  收藏  举报