English 中文(简体)
• 如何从ISBNdb.com获得一本书的分类?
原标题:How do you get category info of a book from ISBNdb.com?
  • 时间:2012-05-08 11:01:48
  •  标签:
  • api
  • isbn

我能够很容易地获得书本信息:

http://isbndb.com/api/books.xml?access_key=THEKEY&results=details&index1=isbn&value1=9781849152990

我可以轻松地研究以下几类:

http://isbndb.com/api/categories.xml?access_key=Z&index1=category_id&value1=science.mathematics.geometry 

但是,你们如何获得某种图书类别? 我想提供国际不动产业联合会的法典,然后,我要获得这一类别?

最佳回答

看看their AP docs ,并在旁边做一个比照,看看看看看看看看看看看看看看看看看看看看看看看看,看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看,看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看

因此,举例来说,鉴于国际交易日志0061031321,你首先叫你。

http://isbndb.com/api/books.xml?access_key=$Z&results=subjects&index1=isbn& Value1=0061031321

返回

<BookData book_id="thief_of_time" isbn="0061031321" isbn13="9780061031328">
<Title>Thief of time</Title>
<TitleLong>Thief of time: a novel of Discworld</TitleLong>
<AuthorsText>Terry Pratchett</AuthorsText>
<PublisherText publisher_id="harpertorch">New York, N.Y. : HarperTorch, [2002], c2001.</PublisherText>
<Subjects>
<Subject subject_id="discworld_imaginary_place_fiction">Discworld (Imaginary place) -- Fiction</Subject>
<Subject subject_id="fantasy_fiction_aaaa0">Fantasy fiction</Subject>
</Subjects>
</BookData>

接着,通过主题,使专题分类:

http://isbndb.com/api/subjects.xml?access_key=$Z&results=categories&index1=subject_id& Value1=discworld_imaginary_place_fiction

<...snip...>
<Categories>
<Category category_id="imaginary_places">Imaginary Places</Category>
<Category category_id="imaginary_places.discworld">Discworld</Category>
</Categories>
<...snip...>

http://isbndb.com/api/subjects.xml?access_key=$Z&results=categories&index1=subject_id& Value1=fantasy_fiction_aaaaa0

<...snip...>
<Categories>
<Category category_id="genres.fantasy">Fantasy</Category>
</Categories>
<...snip...>

So the categories for ISBN 0061031321 are:

  • Imaginary Places
  • Discworld
  • Fantasy

可通过<条码>查询。 a 如果你想要达到整个类别。

问题回答

I figured this might help someone too:

http://isbndb.com/api/books.xml?access_key=XXXXX&results=subjects,details,texts,prices&index1=isbn&value1=9780230749016

• 通知我如何使用 com玛划定的钥匙的“结果”? 象一个药店这样的工程......





相关问题
C# Networking API s [closed]

Lately I ve been looking for a good networking API i could possibly use and/or reference some of the code within, but i have mere luck searching for some on Google/Bing. Hopefully somebody here has ...

getting XML from other domain using ASP.NET

I m fairly new to ASP.NET. And I was wondering how I could go about getting xml from a site (Kuler s API in this case), and then post the result using AJAX? So what I want here, is to be able to do a ...

Most appropriate API for URL shortening service

I ve just finished an online service for shortening URLs (in php5 with Zend Framework); you can enter an URL and you get an short URL (like tinyurl and such sites). I m thinking about the API for ...

UML Diagram to Model API

I need to create a diagram to document a RESTFul API that build, which UML diagram should I use? Thanks in advance,

How best to expose Rails methods via an API?

Let s say I have a model foo, and my model has a publish! method that changes a few properties on that model and potentially a few others too. Now, the Rails way suggests that I expose my model over ...

简讯

我是否可以使用某些软件来建立简便的航天国家服务器,最好是在 Java? 所有我都希望我的航天国家服务机在任何要求中都用同样的IP地址来回答。

About paypal express checkout api

In this picture,there are 3 main steps:SetExpressCheckout,GetExpressCheckoutDetails and DoExpressCheckoutDetails,I m now sure SetExpressCheckout is to be called by myself,what about ...