-
Notifications
You must be signed in to change notification settings - Fork 14
user functions not working. #34
Comments
This comment has been minimized.
This comment has been minimized.
Big CaveatI have no idea how the client and sessions management is really working so could totally be something I'm doing wrong, but @shanephillipsgithub is having the same issue so at a minimum we could flesh out the documents and examples. I'll cut a new env to clear away the pip installed version and clone a dev version to play around a little over the next few days. Same IssueJust rediscovered at least a similar issue, with from secret import MyGoodreadsApp as app
from betterreads import client
gc = client.GoodreadsClient(app['api_key'], app['api_secret'])
gc.authenticate()
user = gc.user(app['user_id'])
print(user.owned_books) results in
ResearchA little more digging.
In the examples that are working (for example, Just for giggles, I tried
To Do:
|
@shanephillipsgithub - I'm still having issues w/ user.owned_books (which is what I need to experiment with - I'm looking to export my highlights and notes by way of the books I own), but just invoking list_groups and shelves as functions/methods instead of properties might work for you in the meantime:
Note the parentheses in |
Jess,
I apologize if I am just missing something as a new python user.
Your documentation for user:
https://betterreads.readthedocs.io/en/latest/user.html
I can use the "user" example and get user.user and user.user_name to work however nothing below your sample code works.
list_groups, owned_books, shelves, etc do not work.
here is test commands( name, link work, but shelves and list_groups do not):
I also tried assigning list and printing
and
The text was updated successfully, but these errors were encountered: