Working on a Drupal module

DiscussãoLibraryThing API Development

Aderi ao LibraryThing para poder publicar.

Working on a Drupal module

Este tópico está presentemente marcado como "adormecido"—a última mensagem tem mais de 90 dias. Pode acordar o tópico publicando uma resposta.

1stirrell
Ago 29, 2008, 5:19 pm

Hello all,

What I would like to do is to create a Drupal module using LibraryThing's APIs. I think for using Drupal that the Webservices XML API would be the best bet. Unfortunately, I want information pulled from my own library and, unless I am missing something, I did not see any methods for doing that in the current Webservices API. It seems that is possible with the JSON API, though. Is it possible for the Webservices but maybe not in the documentation yet?

Here is the information that I am looking to pull based on my library.

1. "Featured" books that will perhaps be denoted by the book's tags.

2. Books by groups. I would want to be able to assign books to groups, probably with tags.

3. Finally, a searchable listing of my library of books.

My thinking was that this would not be too hard to accomplish if I could get an XML set returned to manipulate in my PHP Drupal module. I can get the information I want using JavaScript but I think using that would result in something fairly "kludgey" and hacked together. I think that the XML set would be ideal.

So, I guess I was wondering if getting the data I want with the web services is possible but just not obvious or if, perhaps, this is functionality that might be forthcoming.

Thank you very much for any help you can give me. I took a look at some of the great code examples in here and it was very helpful to get me understanding some of the basics of the APIs. Obviously, I have a ways to go!

Sincerely,
Scott