开发者

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

开发者 https://www.devze.com 2022-12-21 04:11 出处:网络
I\'m using Google Book Search API to add missings bits and pieces to my database. Problem is that The API gives me back a list of book editions, and not reference to the original book itself.

I'm using Google Book Search API to add missings bits and pieces to my database.

Problem is that The API gives me back a list of book editions, and not reference to the original book itself.

The data 开发者_运维问答I'm trying to get is this:

Original title: The Hobbit

Original year of publication: 1937

Can anyone help?


Just in case anyone asks: I'm developing this in 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

0

精彩评论

暂无评论...
验证码 换一张
取 消