简体   繁体   English

Google图书API-如何将Book与Book Edition分开?

[英]Google Books API - How do I separate Book from Book Edition?

I'm using Google Book Search API to add missings bits and pieces to my database. 我正在使用Google Book Search API向数据库中添加缺失片段。

Problem is that The API gives me back a list of book editions, and not reference to the original book itself. 问题在于该API给我提供了书籍版本的列表,而不是参考原始书籍本身。

The data I'm trying to get is this: 我想要获取的数据是这样的:

Original title: The Hobbit 原标题: 霍比特人

Original year of publication: 1937 出版的最初年份: 1937

Can anyone help? 有人可以帮忙吗?


Just in case anyone asks: I'm developing this in Python. 以防万一有人问:我正在用Python开发它。

Try with this snippet: 尝试使用以下代码段:

entry = self.service.get_by_google_id("XV0NAQAAIAAJ")
print entry.dc_title[0].text
print entry.date.text

Result is: 结果是:
The hobbit 霍比特人
1937 1937年

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从python的印刷教科书中删除突出显示? - How do i remove highlight from a printed text book in python? 如何通过使用Google Book API知道ISBN来获得作者和标题? - How can I get the author and title by knowing the ISBN using Google Book API? 如何以简单的方式从本书价格数据集数据中提取版本类型、月份和年份? - How extract Edition type ,Month and Year from this book price data set data in simple way? Kucoin如何从api获取期货订单簿? - Kucoin How to Get Order Book for futures from api? 如何将输出“ __main__.Book对象”转换为字符串? - How do I turn the output “__main__.Book object” into a string? 如何从抓取的 html 中提取书名(字符串)? - How can I extract book names (strings) from scraped html? Django OperationalError,位于/ books / add_review_to_book - Django OperationalError at /books/add_review_to_book 如何简化此 Python 代码(从书中分配)? - How can I simplify this Python code (assignment from a book)? 如何从网页中的书中提取文本? - How can i extract a text from a book in a webpage? 经典问题:如何将数据插入表格:书籍,作者,book_author? - Classic issue: how to insert data to tables: books, authors, book_author?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM