Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET4.0
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???
Posted 18-Sep-12 0:56am
Edited 18-Sep-12 1:09am
v3
Comments
Manfred R. Bihy at 18-Sep-12 6:13am
   
And what exactly is inside the string txt after you've read it from the response stream?
It might be quite important to know that!

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
 
Room 329 wrote:
ISBNdb.com doesn't actually provide the cover image. They have an useful API for finding out more information about a given ISBN, but not the cover image.

 
Regards,
 
— Manfred
  Permalink  
v3
Comments
hanis29268 at 18-Sep-12 6:46am
   
you are right,
it's correct.
now i want show this photo on my application form(c# 2010),
how i can???
for detail of book,isbndb.com send A xml file for me and i can separate field such as tittle and publisher and ETC.
so for get cover of book, how i must to do??
Manfred R. Bihy at 18-Sep-12 6:59am
   
You find everything on the site I linked to.
You can read I hope? Which part did you not understand. Go to the site I linked to and search for the words:
"The URL pattern to access book covers is:"
 
Just read the few lines below that and you'll know everything there is to access the pictures.
Give it a try! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 230
1 PIEBALDconsult 150
2 DamithSL 125
3 BillWoodruff 108
4 Garth J Lancaster 90
0 OriginalGriff 5,790
1 DamithSL 4,601
2 Maciej Los 4,012
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,195


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 18 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100