On 15/07/10 06:50, mars zhang wrote: > I try to make a little application to link to open libary, I have some > questions as below ,please help. > 1. Can I get the editions data by use CURL ?
Yes. Say you want to get the data about this edition: http://openlibrary.org/books/OL7018254M/Halley's_comet JSON is here: http://openlibrary.org/books/OL7018254M.json YAML is here: http://openlibrary.org/books/OL7018254M.yml > 2. How to get a book's cover image ? The 'covers' field in the JSON or YAML will give you a list of numbers, these are cover IDs, in this case it is 6073569. You can grab the cover by going to http://covers.openlibrary.org/b/id/6073569-L.jpg > 3. How to get a book's download link URL? The ocaid field, here it is halleyscometeven00turn, use for these links: http://www.archive.org/details/halleyscometeven00turn - details page http://www.archive.org/stream/halleyscometeven00turn - book reader Downloads: http://www.archive.org/download/halleyscometeven00turn/halleyscometeven00turn.pdf http://www.archive.org/download/halleyscometeven00turn/halleyscometeven00turn_djvu.txt http://www.archive.org/download/halleyscometeven00turn/halleyscometeven00turn.epub http://www.archive.org/download/halleyscometeven00turn/halleyscometeven00turn.djvu http://www.archive.org/download/halleyscometeven00turn/halleyscometeven00turn.mobi -- Edward. _______________________________________________ Ol-tech mailing list [email protected] http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech To unsubscribe from this mailing list, send email to [email protected]
