用isbn获取书的照片(书的封面) [英] get photo(cover of book) of book with isbn
本文介绍了用isbn获取书的照片(书的封面)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
我从isbndb.com上用此代码获得了本书的详细信息,
hi dears,
i get detail of book with this code from isbndb.com,
string url = @"http://isbndb.com/api/books.xml?access_key=5X5U83P4&results=" + cboresulttype.Text + "&index1=" + Cbosearchtype.Text + "&value1=";
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Timeout = 20000;
HttpWebResponse res = (HttpWebResponse)req.GetResponse();
StreamReader sr = new StreamReader(res.GetResponseStream());
string txt = sr.ReadToEnd();
.
.
.
.
现在我要得到书的照片(书的封面)?
我该怎么做?
now i want get the photo(cover of book) of book??
how i can???
推荐答案
您只需要阅读此书,请帮个忙,并阅读所有内容:如何使用ISBN查找书籍的封面图像 [ ^ ].
如果您忽略了我的上述建议,请提供一个简短的摘要:"isbndb.com没有所需的功能.".该网站建议您使用 Open Library Covers API [
You just have to read this and please do yourself a favor and read it all: How to find a cover image for a book with an ISBN[^].
In case you''ve ignored my above advice a short summary: "isbndb.com does not have the functionality you want.". The site recommends you to use Open Library Covers API[^], which is quite simple to use.
查看全文