Goodreads Developers discussion

113 views
bugs > shelves.list broken

Comments Showing 1-9 of 9 (9 new)    post a comment »
dateUp arrow    newest »

message 1: by Li (new)

Li | 3 comments The http://www.goodreads.com/shelf/list.xml endpoint is broken for me. Neither clicking the url on the api page nor using it from within my app works. My app can use other endpoints successfully though.


message 2: by Shawn (new)

Shawn | 23 comments Yup, same here.


message 3: by Jon (new)

Jon (divisionbyzero) | 21 comments the sample link doesn't work because a user_id is required. i'll update the api docs to show this as a required parameter and update the example url to use your current user_id.


message 4: by Shawn (new)

Shawn | 23 comments I'm assuming this is a new change then since this has been working as is for a long time now?


message 5: by Jon (last edited Aug 02, 2013 11:25AM) (new)

Jon (divisionbyzero) | 21 comments sorry, new change by me. if you hit /shelf/list.xml with just an api key and no user_id are you expecting to see the shelves of the api key owner or of the currently logged in user? in retrospect that question didn't make sense. the previous behavior was restored, you should be good now with just a key.


message 6: by Beata (last edited Sep 16, 2016 05:46AM) (new)

Beata | 4 comments Hi,
I have this code in Python, trying to get a list of all my shelves. But I am not getting anything back .

url = 'https://www.goodreads.com/shelf/list.xml '

params = {'key': key, 'user_id': user_id, page: 1}

response_user_shelves = requests.get(url, params=params)

print '*** These are your SHELVES: ***', response_user_shelves.text

Any advice of what's wrong ?
Thanks!
Beata


message 7: by Michael (new)

Michael Economy (michaeleconomy) You need to use oauth, check out the ruby example:

https://www.goodreads.com/topic/show/...


message 8: by Hardik (new)

Hardik Solanki | 1 comments I want to display the list of books in users shelves and as I can see that it has required parameter as "goodreads user id" But I am not able to find that. Can some one tell me how this can be done?Do I have to mention only the Api key and it will fetch the shelves of the loggged in user? Please help


message 9: by Jeff (new)

Jeff (jeffwong) | 75 comments Mod
The GET parameter is user_id and it's for any user. Your user id is 40950206 for example.


back to top