Web service: xISBNUse this Web service to retrieve a list of International Standard Book Numbers (ISBNs) associated with a submitted ISBN, based on WorldCat information.
|
The xISBN API provides a set of methods corresponding to a single, known ISBN value. All request formats take a list of named parameters. The required parameter method is used to specify the calling method, the required parameter format is used to specify a response format, such as XML, XHTML, JSON, Python or Ruby formats; the optional parameter fl controls what fields to return. The response is always a list of normalized ISBN numbers, with requested metadata fields. The xISBN service endpoint URL is:
http://xisbn.worldcat.org/webservices/xid/isbn/
For example, to request all editions of 0596002815 [Learning Python],
request is:
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getEditions&format=xml&fl=form,year,lang,ed
The response is an XML formatted message similar to this example.
<?xml version="1.0" encoding="UTF-8"?>
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok">
<isbn form="BA" year="2004" lang="eng" ed="2nd ed.">0596002815</isbn>
<isbn form="BA DA" year="1999" lang="eng">1565928938</isbn>
<isbn form="BA" year="1999" lang="eng" ed="1st ed.">1565924649</isbn>
</rsp>
and to request a thirteen digits ISBN number of 0596002815,
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=to13&format=xmlThe response is:
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok"> <isbn>9780596002817</isbn> </rsp>
You are encouraged to obtain a Worldcat Affiliate ID before using the service. An affiliate ID will help us provide better service. To provide an affiliate ID in request, simply add "&ai=[affiliate ID]", such as:
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getEditions&format=xml&ai=[affiliate ID]
Commercial and heavy usage users should contact us and obtain an access token. To provide a token in request, add "&token=[token]&hash=[hashvalue]". The hash value is calculated per request, such as:
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getEditions&format=xml&token=[token]&hash=[hash]
method: mandatory, possible values include: to10,to13, fixChecksum, getMetadata, getEditionsformat: mandatory, possible values include: xml, html,json,python,rubyfl:optional, "fl" parameter controls what stored fields are returned, e.g. fl=* return all fields, fl=ed,lang returns edition and language fields.ai: optionaltoken:optionalhash:optionalThis service returns a list of relevant ISBNs and requested metadata fields.
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getEditions&format=xml&fl=form,year,lang,ed
The response is an XML formatted message similar to this example.
<?xml version="1.0" encoding="UTF-8"?>
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok">
<isbn form="BA" year="2004" lang="eng" ed="2nd ed.">0596002815</isbn>
<isbn form="BA DA" year="1999" lang="eng">1565928938</isbn>
<isbn form="BA" year="1999" lang="eng" ed="1st ed.">1565924649</isbn>
</rsp>
By default, this method returns a list of relevant ISBNs
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getEditions&format=xml
The response is an XML formatted message similar to this example.
<?xml version="1.0" encoding="UTF-8"?>
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok">
<isbn>0596002815</isbn>
<isbn>1565928938</isbn>
<isbn>1565924649</isbn>
</rsp>
This service returns metadata information about requested ISBN.
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getMetadata&format=xml&fl=*
The response is an XML formatted message similar to this example.
<?xml version="1.0" encoding="UTF-8"?>
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok">
<isbn title="Learning Python" form="BA" year="2004" lang="eng" ed="2nd ed.">0596002815</isbn>
</rsp>
This service converts an ISBN number to a normalized 13 digits ISBN format.
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=to13&format=xml
The response is an XML formatted message similar to this example.
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok"> <isbn>9780596002817</isbn> </rsp>
This service converts an ISBN number to a normalized 10 digits ISBN format.
http://xisbn.worldcat.org/webservices/xid/isbn/978-0-596-00281-7?method=to10&format=xml
The response is an XML formatted message similar to this example.
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok"> <isbn>0596002815</isbn> </rsp>
This service re-calculate the checksum digit of an ISBN number.
http://xisbn.worldcat.org/webservices/xid/isbn/978-0-596-00281-6?method=fixChecksum&format=xml
The response is an XML formatted message similar to this example.
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok"> <isbn>9780596002817</isbn> </rsp>
<?xml version="1.0" encoding="UTF-8"?>
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok">
<isbn title="Learning Python" form="BA" year="2004" lang="eng" ed="2nd ed.">0596002815</isbn>
</rsp>
A number of metadata fields can be associated with an ISBN number:
title: Title of the requested ISBNyear: Publication yeared: Edition lang: The language field uses three-character MARC Code List for Languages. form: The ONIX production form code, this field is space-delimited if multiple values exist. Current supported values include:
AA (Audio), BA (Book), BB (Hardcover), BC (Paperback), DA (Digital),FA (Film or transparency), MA(Microform), VA(Video).
The request decides which metadata field to return:
to10,to13, and fixChecksum method, only ISBN number is returned.getEditions and getMetadata method, the "fl" parameter is used to control what fields are returned. Current supported fields include: year,ed,lang,title,and form; fl=*returns all fields. getEditions and default format is xml, for example:
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815
The response is an XML formatted message similar to this example.
<?xml version="1.0" encoding="UTF-8"?>
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok">
<isbn>0596002815</isbn>
<isbn>1565928938</isbn>
<isbn>1565924649</isbn>
</rsp>
http://xisbn.worldcat.org/webservices/xid/isbn/12345678901234returns following response:
<?xml version="1.0" encoding="UTF-8" ?>
<rsp xmlns="http://worldcat.org/xid/isbn/" stat="unknownId"/>
ok: correct request and responseunknownId: the request identifier is not a valid ISBN numberunknownMethod: the request method is not supportedunknownFormat: the request format is not supportedunknownField: the request field is not supportedoverlimit: the request is throttled, only header is returnedSeveral other serialization formats are supported, You may check a sample such as:
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getEditions&format=html
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getEditions&format=json
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getEditions&format=python
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815?method=getEditions&format=ruby
The OpenURL Framework defines an architecture for creating context-sensitive services. The OpenURL Endpoint URL is:
http://xisbn.worldcat.org/webservices/xid/openurl/In OpenURL request, the
rft_id is a complete ISBN URI, such as URN:ISBN:0596002815; and svc_id is "http://worldcat.org/xid/isbn/"+method+"_"+format. For example (Note: svc_id intentionally not URL-encoded for readability) :
http://xisbn.worldcat.org/webservices/xid/openurl?rft_id=URN:ISBN:0596002815&url_ver=Z39.88-2004&svc_id=http://worldcat.org/xid/isbn/to13_xml
unAPI is a tiny HTTP API for the few basic operations necessary to copy discrete, identified content from any kind of web application. The unAPI Endpoint URL is :
http://xisbn.worldcat.org/webservices/xid/unapi/In unAPI request, the
id is a complete ISBN URI, such as URN:ISBN:0596002815; and format argument is method+"_"+format. For example:
To get an XML response for ISBN number 0596002815:
http://xisbn.worldcat.org/webservices/xid/unapi?id=URN:ISBN:0596002815&format=getEditions_xml
To get a JSON response for ISBN number 0596002815:
http://xisbn.worldcat.org/webservices/xid/unapi?id=URN:ISBN:0596002815&format=getEditions_json
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815/editions.xml
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815/metadata.js
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815/to13.rb
http://xisbn.worldcat.org/webservices/xid/isbn/0596002815
Other information for this service: