Goodreads Developers discussion
questions
>
Can't add book to shelf via add_to_shelf.xml
date
newest »


You need to use OAuth for this API call instead of adding parameters in the URL.
API description:
https://www.goodreads.com/api/index#s...
How to use OAuth:
https://www.goodreads.com/api/documen...
I can get and retrieve book ID's, user ID's, and add books to books owned among other queries.
What I am having trouble with is adding a book to a shelf.
I am getting the error 'Book with that book_id not found'
This is the same if I use the bookID that can be found in the URL on the book page.
Which is identical to the one that I am collecting from the get book ID API.
Here is my query using POST:
https://www.goodreads.com/shelf/
add_to_shelf.xml?name=read?book_id=7696693
I must be doing something wrong, but I cant work out what.
Any assistance would be great.