Goodreads Developers discussion

50 views
bugs > Owner Book list empty

Comments Showing 1-7 of 7 (7 new)    post a comment »
dateDown arrow    newest »

message 1: by Rafael (new)

Rafael Dohms (rdohms) | 2 comments I'm trying to read the Owned Book List for my user and it comes back empty.

I'm using: http://www.goodreads.com/owned_books/...

passing it my Id and my developer key, but the list comes back empty, and i do have books registered.

What am i doing wrong or is there something in wrong with the API?


message 2: by Michael (new)

Michael Economy (michaeleconomy) You do indeed not own any books:
>> OwnedBook.count :conditions => "current_owner_id=1022768"
=> 0


OwnedBook is a rather new relationship, what you want is reviews which are the backbone of goodreads.


Here's api call:
http://www.goodreads.com/api#reviews....



A review represents a user's opinion of a book, owned_book represents a user actually owning a physical copy of a book.


message 3: by Rafael (new)

Rafael Dohms (rdohms) | 2 comments aha, i can see where i went wrong then... i assumed review list only had the books i already reviewed, not the "currently reading" ones.

so i figured owned books would be the ones i listed on the site.

Thanks


message 4: by Bryan (new)

Bryan Stafford (bryansbooks) | 7 comments Although I am getting the list of owned books correctly, I was wondering why it says false followed by empty tags at the top of the response....

http://www.goodreads.com/owned_books/...


message 5: by Michael (new)

Michael Economy (michaeleconomy) That seems incorrect.


message 6: by Bryan (new)

Bryan Stafford (bryansbooks) | 7 comments It doesn't seem to be causing an issue with the data I'm requesting, I'm getting the list with all the right information just fine. My other requests have authentication as true and it shows my key and the method, but owned_books just says authentication false with no key (or key tags) and empty method tags.

Response:


false


(Then lists the info I've requested normally)


message 7: by Michael (new)

Michael Economy (michaeleconomy) Got it.

Thanks for reporting this!


back to top