Proper way to fetch reviews and covers from my catalog?

CharlasLibraryThing API Development

Únete a LibraryThing para publicar.

Proper way to fetch reviews and covers from my catalog?

Este tema está marcado actualmente como "inactivo"—el último mensaje es de hace más de 90 días. Puedes reactivarlo escribiendo una respuesta.

1zzamboni
Oct 22, 2008, 6:34 pm

Hi,

I only recently started using LT, but I really like it. I've slowly been adding my books to my catalog, and writing reviews for some of the books.

I would like to write a Wordpress plugin that automatically (periodically) fetches new reviews that I have written in LT and posts them on my blog, including some book information (cover, rating, etc.) and a link back to the work entry in LT.

At first glance, it seemed that the JSON API would be ideal: I can get the data, parse it and post it. However, the license for the JSON API says (here: http://www.librarything.com/wiki/index.php/LibraryThing_APIs although not here: http://www.librarything.com/wiki/index.php/LibraryThing_JSON_Books_API) that "Must be run as Javascript on user's browser, not fetched by a server; cannot be stored, except for browser caching". As my plugin would run on my web server, it would not really adhere to this condition.

So my questions are:

- Would what I describe be appropriate use of the API, in your view? According to the second URL above, the license still seems to be in discussion, it would be great if it could be used in the way I described.

- If not, what would you suggest as a good way of obtaining the data? I could fetch my catalog as CSV and then use CoverThing to fetch the covers, but unfortunately this does not always produce the cover I have actually chosen for my books (whereas the JSON API does). Would you suggest any other way of doing this?

Thank you for any clarification, and for the great work you guys do on LibraryThing.